Author: sparky
Date: Sat Feb 27 17:04:21 2010
New Revision: 11197

Modified:
   toys/rsget.pl/t/check
Log:
- quote file name


Modified: toys/rsget.pl/t/check
==============================================================================
--- toys/rsget.pl/t/check       (original)
+++ toys/rsget.pl/t/check       Sat Feb 27 17:04:21 2010
@@ -9,7 +9,7 @@
        if ( /^DONE:(?: | .+ )fname=(\S+) / ) {
                $file = uri_unescape( $1 );
        } elsif ( s/^#\s*md5sum:\s*// ) {
-               my $md5 = `md5sum $file`;
+               my $md5 = `md5sum "$file"`;
                if ( $md5 ne $_ ) {
                        print "md5 mismatch:\n";
                        print "-$_";
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to