diff options
-rw-r--r-- | libretools.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libretools.conf b/libretools.conf index 014243b..9cd1c9a 100644 --- a/libretools.conf +++ b/libretools.conf @@ -69,10 +69,12 @@ for VAR in CHROOTDIR CHROOT CHCOPY CACHEDIR PARABOLAHOST LIBREDESTDIR \ BLACKLIST WORKDIR PATCHDIR REPOS ARCHES ABSLIBREGIT \ COMMITCMD DIFFTOOL FULLBUILDCMD; do + ret=0 [[ -z ${!VAR} ]] && { echo "Configure $VAR var in /etc/libretools.conf" - exit 1 + ret=1 } + [ $ret -ne 0 ] && exit 1 done source /usr/bin/libremessages |