aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-10-29 15:40:39 +0000
committerMark Longair <mhl@pobox.com>2013-10-29 15:40:39 +0000
commit462ac4e63de91f07254637d2206ada7055efb4d4 (patch)
tree0bb2393b5fe65f148e3d9e1211ad4ebb5dea9445
parent09ae8314da546d52b746281c27cb6f0cc3e202ba (diff)
Piping the install script to 'sudo sh -s' is deprecated
-rwxr-xr-xconf/Vagrantfile.example4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/Vagrantfile.example b/conf/Vagrantfile.example
index fbc647746..8c2a32c47 100755
--- a/conf/Vagrantfile.example
+++ b/conf/Vagrantfile.example
@@ -36,8 +36,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# We need curl to fetch the install script
apt-get update -qq
apt-get install -qq -y curl >/dev/null
- curl -s https://raw.github.com/mysociety/commonlib/master/bin/install-site.sh | \
- sh -s -- --dev fixmystreet vagrant 127.0.0.1.xip.io
+ curl -s -O https://raw.github.com/mysociety/commonlib/master/bin/install-site.sh
+ sh install-site.sh --dev fixmystreet vagrant 127.0.0.1.xip.io
# Assume a developer will want to run the tests.
# TODO The tests should be further altered to work regardless of
# configuration file settings