[66457] trunk/base/portmgr/jobs/mirror_macports.sh
jmr at macports.org
jmr at macports.org
Tue Apr 13 15:06:34 PDT 2010
Revision: 66457
http://trac.macports.org/changeset/66457
Author: jmr at macports.org
Date: 2010-04-13 15:06:32 -0700 (Tue, 13 Apr 2010)
Log Message:
-----------
mirror_macports.sh: use port -q to avoid a couple of greps
Modified Paths:
--------------
trunk/base/portmgr/jobs/mirror_macports.sh
Modified: trunk/base/portmgr/jobs/mirror_macports.sh
===================================================================
--- trunk/base/portmgr/jobs/mirror_macports.sh 2010-04-13 21:42:08 UTC (rev 66456)
+++ trunk/base/portmgr/jobs/mirror_macports.sh 2010-04-13 22:06:32 UTC (rev 66457)
@@ -41,7 +41,7 @@
$PORT mirror $P;
# for each variant
- for V in `$PORT variants $P | $GREP -v 'has no variants' | $GREP -v 'has the variants' | $CUT -d " " -f 1 | $CUT -d ":" -f 1 | $GREP -v universal | $XARGS`;
+ for V in `$PORT -q variants $P | $CUT -d " " -f 1 | $CUT -d ":" -f 1 | $GREP -v universal | $XARGS`;
do
# mirror with each variant
echo "Mirroring ${P} +${V}";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100413/fd087d5d/attachment.html>
More information about the macports-changes
mailing list