]> git.pld-linux.org Git - projects/distfiles.git/commitdiff
- file should be 0-sized if passive ftp is to be used
authorMichal Moskal <michal@moskal.me>
Sun, 10 Aug 2003 11:03:29 +0000 (11:03 +0000)
committercvs2git <feedback@pld-linux.org>
Thu, 29 Nov 2012 22:58:15 +0000 (22:58 +0000)
Changed files:
    file-fetcher.pl -> 1.29

file-fetcher.pl

index 42c37bfff70b93bcfa326c34f642101fb86d248e..3fbf9feeb296a3b7fff97287454c05fd627e9784 100644 (file)
@@ -228,7 +228,7 @@ sub fetch_file($$)
   if ($out ne "") {
     $problems .= "$cmd:\n$out\n\n";
   }
-  if (-f $local && -s $local > 0 && $url =~ /^ftp:/) {
+  if (-f $local && -s $local == 0 && $url =~ /^ftp:/) {
     $out = "";
     open(W, "$cmd2 2>&1 |");
     while (<W>) {
This page took 0.13646 seconds and 4 git commands to generate.