summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/treepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/treepkg b/src/treepkg
index 73ef93b..bfe2163 100755
--- a/src/treepkg
+++ b/src/treepkg
@@ -114,7 +114,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 ]] && [[ $DEPTH -eq 0 ]]; then
BUILDNOW=true
@@ -220,7 +220,7 @@ if [[ ${DEPTH} -eq 0 ]]; then
${VERBOSE} || echo "${BUILDORDER}" || true
fi
- if (( CLEANUP )) ; then
+ if ${CLEANUP} ; then
msg2 "Removing %s" "${BUILDDIR}"
rm -rf "${BUILDDIR}"
fi