svn commit: r198221 - user/dougb/portmaster

Doug Barton dougb at FreeBSD.org
Sun Oct 18 23:30:23 UTC 2009


Author: dougb
Date: Sun Oct 18 23:30:23 2009
New Revision: 198221
URL: http://svn.freebsd.org/changeset/base/198221

Log:
  When using the --clean-distfiles[-all] option sort the list of distfiles
  to check so that files related to the same port will (mostly) come up
  together.
  
  Add the $FreeBSD$ keyword

Modified:
  user/dougb/portmaster/portmaster   (contents, props changed)

Modified: user/dougb/portmaster/portmaster
==============================================================================
--- user/dougb/portmaster/portmaster	Sun Oct 18 23:15:25 2009	(r198220)
+++ user/dougb/portmaster/portmaster	Sun Oct 18 23:30:23 2009	(r198221)
@@ -669,7 +669,7 @@ if [ -n "$CLEAN_DISTFILES" ]; then
 	read_distinfos
 
 	echo "===>>> Checking for stale distfiles"
-	for df in `find $distdir -type f`; do
+	for df in `find $distdir -type f | sort`; do
 		f=${df#$distdir}
 		if ! grep -ql $f $DI_FILES; then
 			if [ -n "$ALL" ]; then


More information about the svn-src-user mailing list