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
commit792dabbc95792282338dd2b926200665991e8477 (patch)
tree6c88342df9165f5f1020f0d5fb51b689b86d70d9 /mk
parentb192f121973d2c7ba47eab4b9f5dbf77f2d74c5e (diff)
downloadpkgsrc-792dabbc95792282338dd2b926200665991e8477.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