pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Repair CHECK_FILES by adding \( \) around the -or e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f312817cc667
branches:  trunk
changeset: 493355:f312817cc667
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Tue May 03 21:30:42 2005 +0000

description:
Repair CHECK_FILES by adding \( \) around the -or expression in find.

diffstat:

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

diffs (29 lines):

diff -r e1b00313d91d -r f312817cc667 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Tue May 03 21:06:14 2005 +0000
+++ b/mk/bsd.pkg.mk     Tue May 03 21:30:42 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1624 2005/05/03 20:41:53 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1625 2005/05/03 21:30:42 kristerw Exp $
 #
 # This file is in the public domain.
 #
@@ -2384,7 +2384,8 @@
        fi
 .if defined(PKG_DEVELOPER) && (${CHECK_FILES} == "YES")
        ${_PKG_SILENT}${_PKG_DEBUG}${ECHO_MSG} "${_PKGSRC_IN}> Generating pre-install file lists"
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} -type f -or -type l -print \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} \
+               \( -type f -or -type l \) -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.prefix.pre \
                || ${TRUE}
 .  if ${CHECK_FILES_STRICT} == "YES"
@@ -2450,7 +2451,8 @@
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} ${PLIST}
 .if defined(PKG_DEVELOPER) && (${CHECK_FILES} == "YES")
        ${_PKG_SILENT}${_PKG_DEBUG}${ECHO_MSG} "${_PKGSRC_IN}> Generating post-install file lists"
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} -type f -or -type l -print \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} \
+               \( -type f -or -type l \) -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.prefix.post \
                || ${TRUE}
 .  if ${CHECK_FILES_STRICT} == "YES"



Home | Main Index | Thread Index | Old Index