admin: distfiles/file-fetcher.pl change messages to match reality

arekm arekm at pld-linux.org
Tue Apr 3 12:03:21 CEST 2012


Author: arekm                        Date: Tue Apr  3 10:03:21 2012 GMT
Module: admin                         Tag: HEAD
---- Log message:
change messages to match reality

---- Files affected:
admin/distfiles:
   file-fetcher.pl (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: admin/distfiles/file-fetcher.pl
diff -u admin/distfiles/file-fetcher.pl:1.58 admin/distfiles/file-fetcher.pl:1.59
--- admin/distfiles/file-fetcher.pl:1.58	Fri Sep 23 15:36:33 2011
+++ admin/distfiles/file-fetcher.pl	Tue Apr  3 12:03:16 2012
@@ -308,11 +308,11 @@
       }
     }
   } elsif (-f $local && -s $local > 0) {
-    $problems .= "FATAL: $url ($md5) was not fetched ($cmd: $all_out): file is not readable\n";
+    $problems .= "FATAL: $url ($md5) was not fetched correctly ($cmd: $all_out): file is not readable\n";
   } elsif (-f $local && not -s $local) {
-    $problems .= "FATAL: $url ($md5) was not fetched ($cmd: $all_out): file exists but has 0 length\n";
+    $problems .= "FATAL: $url ($md5) was not fetched correctly ($cmd: $all_out): file fetched but has 0 length\n";
   } else {
-    $problems .= "FATAL: $url ($md5) was not fetched ($cmd: $all_out)\n";
+    $problems .= "FATAL: $url ($md5) was not fetched correctly ($cmd: $all_out)\n";
   }
   # save space
   unlink($local);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/admin/distfiles/file-fetcher.pl?r1=1.58&r2=1.59



More information about the pld-cvs-commit mailing list