pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk straighten out FIND command to figure out if a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/67f201247998
branches: trunk
changeset: 522456:67f201247998
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sat Dec 09 19:40:53 2006 +0000
description:
straighten out FIND command to figure out if a package needs to be rebuilt.
This should fix the problem reported by wiz@.
diffstat:
mk/bulk/bsd.bulk-pkg.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c932d2f40e75 -r 67f201247998 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk Sat Dec 09 18:33:39 2006 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk Sat Dec 09 19:40:53 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.bulk-pkg.mk,v 1.126 2006/11/26 03:08:24 jschauma Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.127 2006/12/09 19:40:53 jschauma Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -301,7 +301,7 @@
uptodate=0; \
elif [ "${USE_BULK_TIMESTAMPS}" = "yes" ]; then \
${SHCOMMENT} "Check files of this package"; \
- newfiles="`${FIND} . -type f -newer "${REF}" ! \( -name ${WRKDIR_BASE} -or -name README.html -or -name DESCR -or -name COMMENT -or -name Repository -or -name Entries -or -name
Root -or -name Tag \) -print || ${TRUE}`"; \
+ newfiles="`${FIND} . \( \( -name CVS -or -name ${WRKDIR_BASENAME} \) -prune \) -or \( -type f -newer "${REF}" ! \( -name README.html -or -name DESCR -or -name COMMENT -or
-name '.*' \) \) -print || ${TRUE}`"; \
nnewfiles="`echo $$newfiles | ${WC} -w`"; \
if [ "$$nnewfiles" -gt 0 ]; then \
${BULK_MSG} 1>&2 "Package ${PKGNAME} ($$newfiles) modified since last 'make package' re-packaging..."; \
Home |
Main Index |
Thread Index |
Old Index