projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
414388f
)
Make vagrant provision script stop on error
author
Tom Hughes
<tom@compton.nu>
Mon, 28 Mar 2016 21:45:20 +0000
(22:45 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 28 Mar 2016 21:45:20 +0000
(22:45 +0100)
script/vagrant/setup/provision.sh
patch
|
blob
|
history
diff --git
a/script/vagrant/setup/provision.sh
b/script/vagrant/setup/provision.sh
index 5699b537b14ef5e42529f363c0bb51996396dba9..6522be165235c83405b3f70a0acc49f6096f7c7b 100644
(file)
--- 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