Date: Sun, 18 Oct 2009 23:30:23 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r198221 - user/dougb/portmaster Message-ID: <200910182330.n9INUNx0081700@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910182330.n9INUNx0081700>