Update of /cvsroot/fink/dists
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv14331

Modified Files:
        compare-trees.pl 
Log Message:
Don't hardcode path to md5 (falsely assumes we have fink and it's at /sw)


Index: compare-trees.pl
===================================================================
RCS file: /cvsroot/fink/dists/compare-trees.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- compare-trees.pl    12 Mar 2004 09:07:19 -0000      1.10
+++ compare-trees.pl    19 Jun 2006 19:52:43 -0000      1.11
@@ -24,6 +24,8 @@
        exit 0;
 }
 
+$ENV{PATH} = '/sw/bin:'.$ENV{PATH};
+
 my %PACKAGES;
 my @TREES;
 my $prefix;
@@ -50,7 +52,7 @@
        $treename =~ s#/*$##;
        $treename =~ s#^.*/##;
 
-       if (open(FIND, "/usr/bin/find $tree -name '*.info' | /usr/bin/xargs 
/sw/bin/md5sum |")) {
+       if (open(FIND, "/usr/bin/find $tree -name '*.info' | /usr/bin/xargs 
md5sum |")) {
                while (my $file = <FIND>) {
                        chomp $file;
                        ($md5sum, $file) = split(/\s+/, $file);



_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to