pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk POSIX doesn't specify -or as operand for find, only...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b63a62085ce5
branches:  trunk
changeset: 513221:b63a62085ce5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon May 22 16:54:54 2006 +0000

description:
POSIX doesn't specify -or as operand for find, only -o.
Fix from PR 33531 by Gilles Dauphin.

diffstat:

 mk/bsd.pkg.check.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d515dc6da614 -r b63a62085ce5 mk/bsd.pkg.check.mk
--- a/mk/bsd.pkg.check.mk       Mon May 22 16:51:42 2006 +0000
+++ b/mk/bsd.pkg.check.mk       Mon May 22 16:54:54 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.check.mk,v 1.33 2006/05/21 13:24:44 rillig Exp $
+# $NetBSD: bsd.pkg.check.mk,v 1.34 2006/05/22 16:54:54 joerg Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and defines the
 # relevant variables and targets for the various install-time "check"
@@ -189,7 +189,7 @@
 
 ${_CHECK_FILES_PRE.prefix} ${_CHECK_FILES_POST.prefix}:
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
-       ${FIND} ${PREFIX}/. \( -type f -or -type l \) -print 2>/dev/null \
+       ${FIND} ${PREFIX}/. \( -type f -o -type l \) -print 2>/dev/null \
                | ${SED} -e 's,/\./,/,'                                 \
                | ${_CHECK_FILES_SKIP_FILTER} > ${.TARGET}              \
                 || ${TRUE}



Home | Main Index | Thread Index | Old Index