diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-21 21:44:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-21 21:44:23 +0000 |
commit | 8bdca16249cd925c644587cc60bcaed6e681ef4b (patch) | |
tree | dc1d2e78efc6e5c8f616b42bc14ec46f3e3bce9e /mk/check | |
parent | fe8b1e27a914d7d6522f00b2ca4b6740af4ae8d0 (diff) | |
download | pkgsrc-8bdca16249cd925c644587cc60bcaed6e681ef4b.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}: \ |