summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-05-25 20:08:56 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-05-25 20:08:56 +0000
commit05e815f4bd44d98fe8905b932c8694ae526aeca3 (patch)
treed3bb7131de0a3126d9514c014278ab432b22e526 /Tools
parent- Update to 1.1 (diff)
Eliminate some more hardcoding. Expand the pattern for "non-mainstream"
builds to also catch \., not just \-.
Notes
Notes: svn path=/head/; revision=255073
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackagestats14
1 files changed, 9 insertions, 5 deletions
diff --git a/Tools/portbuild/scripts/dopackagestats b/Tools/portbuild/scripts/dopackagestats
index 988c9945cf2a..f0d3b4df08e9 100755
--- a/Tools/portbuild/scripts/dopackagestats
+++ b/Tools/portbuild/scripts/dopackagestats
@@ -172,7 +172,7 @@ write_row () {
# column: running flag
running_flag="N"
- # the last grep eliminates false positive of i386-6-exp for i386-6;
+ # the last grep eliminates false positive of i386-6-xyz for i386-6;
# if we are still running FreeBSD in the year 3000, s/2/3/
running_processes_for_build=`ps axww | \
grep "pdispatch $arch $build " | \
@@ -335,7 +335,9 @@ write_header
# display all the mainstream builds first
for arch in ${SUPPORTED_ARCHS}; do
- builds=`ls ${ROOT_DIRECTORY}/${arch} | grep "${SUPPORTED_BUILDS_PATTERN}$" | sort`
+ builds=`ls ${ROOT_DIRECTORY}/${arch} | \
+ grep "${SUPPORTED_BUILDS_PATTERN}$" | \
+ sort`
if [ ! -z "$builds" ]; then
write_table_begin
@@ -347,11 +349,13 @@ for arch in ${SUPPORTED_ARCHS}; do
fi
done
-# then display all -exp builds (probably only of interest to portmgr;
-# would break up the logical flow of the above)
+# then display all the non-mainstream builds (probably only of interest
+# to portmgr; would break up the logical flow of the above)
for arch in ${SUPPORTED_ARCHS}; do
- builds=`ls ${ROOT_DIRECTORY}/${arch} | grep "${SUPPORTED_BUILDS_PATTERN}-" | sort`
+ builds=`ls ${ROOT_DIRECTORY}/${arch} | \
+ grep "${SUPPORTED_BUILDS_PATTERN}[-\.]" | \
+ sort`
if [ ! -z "$builds" ]; then
write_table_begin