summaryrefslogtreecommitdiff
path: root/treepkg
diff options
context:
space:
mode:
Diffstat (limited to 'treepkg')
-rwxr-xr-xtreepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/treepkg b/treepkg
index 1350428..dc2575d 100755
--- a/treepkg
+++ b/treepkg
@@ -127,7 +127,7 @@ BUILD=${B:-true}
CLEANUP=${C:-true}
# Skip BUILDORDER creation and build anything on BUILDDIR
BUILDNOW=${N:-false}
-IGNORE=${I:-}
+IGNORE=${I}
if [ ! -z "${1}" -a ${DEPTH} -eq 0 ]; then
BUILDNOW=true
@@ -233,7 +233,7 @@ if [ ${DEPTH} -eq 0 ]; then
${VERBOSE} || echo "${BUILDORDER}" || true
fi
-if ${CLEANUP} ; then
+if (( CLEANUP )) ; then
msg2 "Removing ${BUILDDIR}"
rm -rf "${BUILDDIR}"
fi