From: Simon Ruderich Date: Sun, 22 Jun 2014 14:17:28 +0000 (+0200) Subject: archive.sh,setup.sh: use set -u X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=224cc5ab9e3d52a8753d3a23ca2b45988a0785c4;p=config%2Fdotfiles.git archive.sh,setup.sh: use set -u --- diff --git a/archive.sh b/archive.sh index 5f8a0d2..26a0e8d 100755 --- a/archive.sh +++ b/archive.sh @@ -21,7 +21,7 @@ # along with this program. If not, see . -set -e +set -eu git_clone() { git clone "$1" "$2" >/dev/null diff --git a/setup.sh b/setup.sh index 2190af1..ce47802 100755 --- a/setup.sh +++ b/setup.sh @@ -19,7 +19,7 @@ # along with this program. If not, see . -set -e +set -eu for path in */setup.sh; do # Skip non executable setup.sh files as an easy way to deactivate one.