pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/fetch Removed the leading "-" of a shell command. T...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98ee134b585c
branches:  trunk
changeset: 515981:98ee134b585c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jul 12 12:34:13 2006 +0000

description:
Removed the leading "-" of a shell command. The unexpected error message
that it had produced had confused me.

diffstat:

 mk/fetch/distclean.mk |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 849f8acb3ad7 -r 98ee134b585c mk/fetch/distclean.mk
--- a/mk/fetch/distclean.mk     Wed Jul 12 12:31:01 2006 +0000
+++ b/mk/fetch/distclean.mk     Wed Jul 12 12:34:13 2006 +0000
@@ -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 @@
                ${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



Home | Main Index | Thread Index | Old Index