]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
archive.sh,setup.sh: use set -u
authorSimon Ruderich <simon@ruderich.org>
Sun, 22 Jun 2014 14:17:28 +0000 (16:17 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 22 Jun 2014 14:17:28 +0000 (16:17 +0200)
archive.sh
setup.sh

index 5f8a0d2954f6875cefef35f1fdacda95a8eed7a7..26a0e8d667fb932068bed15ca2afc56ec4902d09 100755 (executable)
@@ -21,7 +21,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-set -e
+set -eu
 
 git_clone() {
     git clone "$1" "$2" >/dev/null
index 2190af18ab82f68e1530cdf0870c4490ed80d844..ce478023a6d298ead5f8077725dbf9ee91f5c42a 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -19,7 +19,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-set -e
+set -eu
 
 for path in */setup.sh; do
     # Skip non executable setup.sh files as an easy way to deactivate one.