pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check Allow the existence of symlinks that point no...
details: https://anonhg.NetBSD.org/pkgsrc/rev/45ae38672913
branches: trunk
changeset: 532503:45ae38672913
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Aug 21 21:44:23 2007 +0000
description:
Allow the existence of symlinks that point nowhere.
diffstat:
mk/check/check-files.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e24e18f683cc -r 45ae38672913 mk/check/check-files.mk
--- a/mk/check/check-files.mk Tue Aug 21 21:25:21 2007 +0000
+++ b/mk/check/check-files.mk Tue Aug 21 21:44:23 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-files.mk,v 1.17 2007/08/13 05:05:11 rillig Exp $
+# $NetBSD: check-files.mk,v 1.18 2007/08/21 21:44:23 jlam Exp $
#
# This file checks that the list of installed files matches the PLIST.
# For that purpose it records the file list of LOCALBASE before and
@@ -261,7 +261,7 @@
${DIFF} -u ${_CHECK_FILES_EXPECTED} ${_CHECK_FILES_ADDED} | \
${GREP} '^-[^-]' | ${SED} "s|^-||" | \
while read file; do \
- ${TEST} -f "$$file" || ${ECHO} "$$file"; \
+ ${TEST} -f "$$file" -o -h "$$file" || ${ECHO} "$$file"; \
done > ${.TARGET}
${_CHECK_FILES_MISSING_REAL}: ${_CHECK_FILES_MISSING}
@@ -283,7 +283,7 @@
${DIFF} -u ${_CHECK_FILES_EXPECTED} ${_CHECK_FILES_ADDED} | \
${GREP} '^+[^+]' | ${SED} "s|^+||" | \
while read file; do \
- ${TEST} ! -f "$$file" || ${ECHO} "$$file"; \
+ ${TEST} ! -f "$$file" -a ! -h "$$file" || ${ECHO} "$$file"; \
done > ${.TARGET}
${_CHECK_FILES_ERRMSG.prefix}: \
Home |
Main Index |
Thread Index |
Old Index