svn commit: r277875 - projects/building-blocks/tools

Garrett Cooper ngie at FreeBSD.org
Thu Jan 29 09:13:35 UTC 2015


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 | \


More information about the svn-src-projects mailing list