summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libretools.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/libretools.conf b/libretools.conf
index a506af7..95cd5e9 100644
--- a/libretools.conf
+++ b/libretools.conf
@@ -64,10 +64,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