summaryrefslogtreecommitdiff
path: root/libretools.conf
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-04 12:19:48 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-04 12:19:48 -0300
commit7171852c0e7564f75506f5018f81d71ed96d9363 (patch)
tree147827bb179beb925fe19e0e33aa9c9356998c68 /libretools.conf
parent1261792ace0f90b51ae4d8e34c8e056e79940ce3 (diff)
Empty variables are informed all at once
Diffstat (limited to 'libretools.conf')
-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