SVN: toys/rsget.pl/t/check
sparky
sparky at pld-linux.org
Sat Feb 27 17:04:21 CET 2010
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 "-$_";
More information about the pld-cvs-commit
mailing list