From: Tom Hughes Date: Mon, 28 Mar 2016 21:45:20 +0000 (+0100) Subject: Make vagrant provision script stop on error X-Git-Tag: live~3895 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8fd70ff44ff9cebdbe491f641dbe6d62bb85c601?ds=sidebyside Make vagrant provision script stop on error --- diff --git a/script/vagrant/setup/provision.sh b/script/vagrant/setup/provision.sh index 5699b537b..6522be165 100644 --- a/script/vagrant/setup/provision.sh +++ b/script/vagrant/setup/provision.sh @@ -1,5 +1,8 @@ #!/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