1
0
Fork 0
mirror of synced 2024-06-01 15:01:10 -04:00

Make install script safer

Call `set -e` to make the script exit if any command fails and `set -u`
to treat unset variables as an error.
This commit is contained in:
Anish Athalye 2014-08-18 11:54:52 -07:00
parent 62db03c969
commit 11dd1e2eac

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -eu
CONFIG="install.conf.json" CONFIG="install.conf.json"
DOTBOT_DIR="dotbot" DOTBOT_DIR="dotbot"