[23530] users/pipping/test.sh

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 3 17:12:26 PDT 2007


Revision: 23530
          http://trac.macosforge.org/projects/macports/changeset/23530
Author:   pipping at macports.org
Date:     2007-04-03 17:12:26 -0700 (Tue, 03 Apr 2007)

Log Message:
-----------
 * ignore case
 * match any kind of wordend

Modified Paths:
--------------
    users/pipping/test.sh

Modified: users/pipping/test.sh
===================================================================
--- users/pipping/test.sh	2007-04-04 00:05:04 UTC (rev 23529)
+++ users/pipping/test.sh	2007-04-04 00:12:26 UTC (rev 23530)
@@ -5,7 +5,7 @@
 EGREP=/usr/bin/egrep
 
 for i in */*/Portfile;
-    do if [ `$EGREP -c "^[^#]*(port|(path|lib|bin):[^:]+):$1([\t ]|$)" $i` \
+    do if [ `$EGREP -ci "^[^#]*(port|(path|lib|bin):[^:]+):$1\>" "$i"` \
     -gt 0 ]
         then echo $i | $SED "s=/Portfile=="
     fi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070403/5440f1a0/attachment.html


More information about the macports-changes mailing list