From 6963eb95d8d29b84d9dc8a1f6b4095ebe1317a68 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 5 Mar 2014 09:59:59 -0500 Subject: touch up treepkg --- src/treepkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.2