aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2014-04-28 10:58:03 -0700
committerMark Ferrell <major@homeonderanged.org>2014-04-28 11:01:39 -0700
commita3154554ee30a39f4af178b060879253d9ed322f (patch)
treedf45e6ed4fec76f195ea15b3a747e39e42386162
parent52fd1dbe997194f69fb5af72a20c76ab8cd0c4f3 (diff)
Change test condition for NOCLEAN to allow setting to 0
-rwxr-xr-xlibexec/build-make-clean2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/build-make-clean b/libexec/build-make-clean
index 3fe4b67..4117b26 100755
--- a/libexec/build-make-clean
+++ b/libexec/build-make-clean
@@ -21,7 +21,7 @@ build_make_clean()
{(
load_rules "${1}"
- if [ -z "${NOCLEAN}" ]; then
+ if test "${NOCLEAN:-0}" -eq '0' ; then
build_make_distclean "${1}"
fi
)}