summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-12 12:34:13 +0000
committerrillig <rillig>2006-07-12 12:34:13 +0000
commitafb010e1d2f8ae4d2bcf25721140a521b71937c8 (patch)
tree6c88342df9165f5f1020f0d5fb51b689b86d70d9 /mk
parentf19d8bcbb877e5b26b61454a92e88fa35b84d487 (diff)
downloadpkgsrc-afb010e1d2f8ae4d2bcf25721140a521b71937c8.tar.gz
Removed the leading "-" of a shell command. The unexpected error message
that it had produced had confused me.
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch/distclean.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/fetch/distclean.mk b/mk/fetch/distclean.mk
index 3140e1b286b..2f9a4a8447e 100644
--- a/mk/fetch/distclean.mk
+++ b/mk/fetch/distclean.mk
@@ -1,4 +1,4 @@
-# $NetBSD: distclean.mk,v 1.1 2006/06/06 03:05:48 jlam Exp $
+# $NetBSD: distclean.mk,v 1.2 2006/07/12 12:34:13 rillig Exp $
.PHONY: pre-distclean
.if !target(pre-distclean)
@@ -19,8 +19,10 @@ distclean: pre-distclean clean
${TEST} -z "${PATCHFILES}" || ${RM} -f ${PATCHFILES}; \
fi
. if defined(DIST_SUBDIR)
- -${_PKG_SILENT}${_PKG_DEBUG} \
- ${TEST} ! -d ${_DISTDIR} || ${RMDIR} ${_DISTDIR} 2>/dev/null
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ ${TEST} ! -d ${_DISTDIR} \
+ || ${RMDIR} ${_DISTDIR} 2>/dev/null \
+ || ${TRUE}
. endif
${_PKG_SILENT}${_PKG_DEBUG}${RM} -f README.html
.endif