summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-01 22:22:59 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-01 22:22:59 -0300
commit7f3926f2aab774eacc5fc5963725d44c70f50bdc (patch)
treeb18c98294e0e337e64e00a94bc033b939c0991ed
parent43340dd5019bce02af94dc1717b6ad60b84a1ead (diff)
minor checks
-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