Date: Thu, 29 Jan 2015 09:13:35 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r277875 - projects/building-blocks/tools Message-ID: <201501290913.t0T9DZ4g003428@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Jan 29 09:13:34 2015 New Revision: 277875 URL: https://svnweb.freebsd.org/changeset/base/277875 Log: Look for ! -type d when looking for OLD_FILES, not just -type f This will catch MLINKS, etc not caught previously Modified: projects/building-blocks/tools/add-optional-obsolete-files-entries.sh Modified: projects/building-blocks/tools/add-optional-obsolete-files-entries.sh ============================================================================== --- projects/building-blocks/tools/add-optional-obsolete-files-entries.sh Thu Jan 29 09:06:21 2015 (r277874) +++ projects/building-blocks/tools/add-optional-obsolete-files-entries.sh Thu Jan 29 09:13:34 2015 (r277875) @@ -48,7 +48,7 @@ done # Enumerate all of the installed files/directories (cd $DESTDIR; - find -s . -type f -mindepth 1 | \ + find -s . \! -type d -and -mindepth 1 | \ sed -e 's,^,OLD_FILES+=,' \ -e '/lib\/.*\.so\.[0-9]\.*/s/OLD_FILES+=/OLD_LIBS+=/g'; find -d -s . -type d -mindepth 1 -and \! -empty | \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501290913.t0T9DZ4g003428>