diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-26 21:16:38 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-26 21:16:38 -0400 |
commit | f32c679946fa6d28981bda4f16959bf90656b2f6 (patch) | |
tree | dc726d19c88880cc6b4e828e55eeff1856ff5710 /src/lib/conf.sh | |
parent | 366641b7bc2e1b2e0bd12ec3b3483c9149cd64cb (diff) |
lib/conf.sh: fix bug with `set -u`
Diffstat (limited to 'src/lib/conf.sh')
-rw-r--r-- | src/lib/conf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh index ca25f70..73dfca4 100644 --- a/src/lib/conf.sh +++ b/src/lib/conf.sh @@ -71,7 +71,7 @@ check_vars() { shift local ret=0 for VAR in "$@"; do - if [[ -z ${!VAR} ]]; then + if [[ -z ${!VAR:-} ]]; then if [[ $(list_files $slug|wc -l) > 1 ]]; then echo "Configure '$VAR' in one of:" list_files $slug | sed 's/./ -> &/' |