pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check Avoid spurious false negatives when the direc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a20b938660f5
branches: trunk
changeset: 517778:a20b938660f5
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Aug 22 18:50:56 2006 +0000
description:
Avoid spurious false negatives when the directories are reordered
during install phase by sorting explicitly.
diffstat:
mk/check/check-files.mk | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 7bd478dcc81f -r a20b938660f5 mk/check/check-files.mk
--- a/mk/check/check-files.mk Tue Aug 22 18:44:30 2006 +0000
+++ b/mk/check/check-files.mk Tue Aug 22 18:50:56 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-files.mk,v 1.5 2006/06/09 16:41:09 jlam Exp $
+# $NetBSD: check-files.mk,v 1.6 2006/08/22 18:50:56 joerg Exp $
.if defined(PKG_DEVELOPER)
CHECK_FILES?= yes
@@ -140,21 +140,24 @@
${_PKG_SILENT}${_PKG_DEBUG} \
${FIND} ${PREFIX}/. \( -type f -o -type l \) -print 2>/dev/null \
| ${SED} -e 's,/\./,/,' \
- | ${_CHECK_FILES_SKIP_FILTER} > ${.TARGET} \
+ | ${_CHECK_FILES_SKIP_FILTER} \
+ | ${SORT} > ${.TARGET} \
|| ${TRUE}
${_CHECK_FILES_PRE.sysconfdir} ${_CHECK_FILES_POST.sysconfdir}:
${_PKG_SILENT}${_PKG_DEBUG} \
${FIND} ${PKG_SYSCONFDIR}/. -print 2>/dev/null \
| ${SED} -e 's,/\./,/,' \
- | ${_CHECK_FILES_SKIP_FILTER} > ${.TARGET} \
+ | ${_CHECK_FILES_SKIP_FILTER} \
+ | ${SORT} > ${.TARGET} \
|| ${TRUE}
${_CHECK_FILES_PRE.varbase} ${_CHECK_FILES_POST.varbase}:
${_PKG_SILENT}${_PKG_DEBUG} \
${FIND} ${VARBASE}/. -print 2>/dev/null \
| ${SED} -e 's,/\./,/,' \
- | ${_CHECK_FILES_SKIP_FILTER} > ${.TARGET} \
+ | ${_CHECK_FILES_SKIP_FILTER} \
+ | ${SORT} > ${.TARGET} \
|| ${TRUE}
###########################################################################
Home |
Main Index |
Thread Index |
Old Index