Update of /cvsroot/fink/scripts/buildfink
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv4444

Modified Files:
        filter 
Log Message:
Write to output directory

Index: filter
===================================================================
RCS file: /cvsroot/fink/scripts/buildfink/filter,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- filter      9 Mar 2007 03:34:18 -0000       1.3
+++ filter      9 Mar 2007 03:42:01 -0000       1.4
@@ -233,9 +233,9 @@
                foreach my $filter(@matched_filters) {
                        if (defined $filter->{outfile}) {
                                # have a filename, so append outtext there
-                               system("mkdir", "-p", dirname($filter->{name}));
+                               system("mkdir", "-p", 
dirname($filter->{outfile}));
 
-                               open(my $out_fh, '>>', $filter->{name}) or die 
"Couldn't open ".$filter->{name}." for output: $!\n";
+                               open(my $out_fh, '>>', $filter->{outfile}) or 
die "Couldn't open ".$filter->{name}." for output: $!\n";
                                print $out_fh $filter->{outtext};
                                close $out_fh;
                        } else {


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to