summaryrefslogtreecommitdiff
path: root/src/treepkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/treepkg')
-rwxr-xr-xsrc/treepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/treepkg b/src/treepkg
index 0f077bb..a1b4e38 100755
--- a/src/treepkg
+++ b/src/treepkg
@@ -220,7 +220,7 @@ if [ ${DEPTH} -eq 0 ]; then
${VERBOSE} || echo "${BUILDORDER}" || true
fi
- if ${CLEANUP} ; then
+ if (( CLEANUP )) ; then
msg2 "Removing ${BUILDDIR}"
rm -rf "${BUILDDIR}"
fi