]> git.openstreetmap.org Git - rails.git/commitdiff
Make vagrant provision script stop on error
authorTom Hughes <tom@compton.nu>
Mon, 28 Mar 2016 21:45:20 +0000 (22:45 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 28 Mar 2016 21:45:20 +0000 (22:45 +0100)
script/vagrant/setup/provision.sh

index 5699b537b14ef5e42529f363c0bb51996396dba9..6522be165235c83405b3f70a0acc49f6096f7c7b 100644 (file)
@@ -1,5 +1,8 @@
 #!/usr/bin/env bash
 
 #!/usr/bin/env bash
 
+# abort on error
+set -e
+
 # set locale to UTF-8 compatible. apologies to non-english speakers...
 locale-gen en_GB.utf8
 update-locale LANG=en_GB.utf8 LC_ALL=en_GB.utf8
 # set locale to UTF-8 compatible. apologies to non-english speakers...
 locale-gen en_GB.utf8
 update-locale LANG=en_GB.utf8 LC_ALL=en_GB.utf8