summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/fetch/distclean.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/fetch/distclean.mk b/mk/fetch/distclean.mk
index da94a6f9d47..a92d57de414 100644
--- a/mk/fetch/distclean.mk
+++ b/mk/fetch/distclean.mk
@@ -1,4 +1,4 @@
-# $NetBSD: distclean.mk,v 1.4 2007/10/13 13:49:19 rillig Exp $
+# $NetBSD: distclean.mk,v 1.5 2007/12/16 02:51:24 obache Exp $
#
# === make targets for pkgsrc users ===
#
@@ -20,7 +20,7 @@ distclean: pre-distclean clean
cd ${_DISTDIR}; \
${RM} -f ${ALLFILES} ${ALLFILES:S/$/.pkgsrc.resume/}
. if defined(DIST_SUBDIR)
- ${RUN} ${RMDIR} ${_DISTDIR} 2>/dev/null ${TRUE}
+ ${RUN} ${RMDIR} ${_DISTDIR} 2>/dev/null || ${TRUE}
. endif
${RUN} ${RM} -f README.html
.endif