diff options
author | jlam <jlam> | 2007-08-21 21:44:23 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-08-21 21:44:23 +0000 |
commit | 2e9b2887dba8606c34e6b21ef614bba2e788de02 (patch) | |
tree | dc1d2e78efc6e5c8f616b42bc14ec46f3e3bce9e /mk/check | |
parent | ec51fb5ed29e0ae9036a857005087e8f3ce2ecc3 (diff) | |
download | pkgsrc-2e9b2887dba8606c34e6b21ef614bba2e788de02.tar.gz |
Allow the existence of symlinks that point nowhere.
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-files.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/check/check-files.mk b/mk/check/check-files.mk index beb1273d28f..4189c918d17 100644 --- a/mk/check/check-files.mk +++ b/mk/check/check-files.mk @@ -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 @@ ${_CHECK_FILES_MISSING}: ${_CHECK_FILES_EXPECTED} ${_CHECK_FILES_ADDED} ${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 @@ ${_CHECK_FILES_EXTRA}: ${_CHECK_FILES_EXPECTED} ${_CHECK_FILES_ADDED} ${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}: \ |