summaryrefslogtreecommitdiff
path: root/src/treepkg
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-05 09:59:59 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-05 09:59:59 -0500
commit6963eb95d8d29b84d9dc8a1f6b4095ebe1317a68 (patch)
tree1b8907221ab70c62cada4100c9a4790ee25f8fcc /src/treepkg
parentfe83da6541b3996829e9890e4db62b8229cbef14 (diff)
touch up treepkg
Diffstat (limited to 'src/treepkg')
-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