Update of /cvsroot/fink/experimental/rangerrick/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29720

Modified Files:
        bomgrep 
Log Message:
not just locate

Index: bomgrep
===================================================================
RCS file: /cvsroot/fink/experimental/rangerrick/scripts/bomgrep,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bomgrep     7 Jul 2004 20:57:05 -0000       1.1
+++ bomgrep     7 Jul 2004 21:00:45 -0000       1.2
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-locate bom | grep -E '\.bom$' | while read LINE; do
+(locate bom; find /Library/Receipts -name \*.bom) | grep -E '\.bom$' | sort -u | 
while read LINE; do
        if lsbom -s "$LINE" 2>&1 | grep -q "$@"; then
                echo "$LINE" | sed -e 's,^/Library/Receipts/,,' -e 's,/.*$,,'
        fi



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to