summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-12 12:34:13 +0000
committerrillig <rillig@pkgsrc.org>2006-07-12 12:34:13 +0000
commit1dd9c5c90e55470a56a7c405de4774c1e4e436e8 (patch)
tree6c88342df9165f5f1020f0d5fb51b689b86d70d9 /mk
parent2e9212ffa1aef78e34340e83ac9e03f9634c7372 (diff)
downloadpkgsrc-1dd9c5c90e55470a56a7c405de4774c1e4e436e8.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