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

Modified Files:
        filter 
Log Message:
mkdir on dirname($foo) instead of $foo

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


-------------------------------------------------------------------------
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