packages: mailcap/run-mailcap - quote filename on command execution
gotar
gotar at pld-linux.org
Thu Apr 30 18:13:51 CEST 2009
Author: gotar Date: Thu Apr 30 16:13:51 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- quote filename on command execution
---- Files affected:
packages/mailcap:
run-mailcap (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/mailcap/run-mailcap
diff -u packages/mailcap/run-mailcap:1.1 packages/mailcap/run-mailcap:1.2
--- packages/mailcap/run-mailcap:1.1 Thu Apr 30 18:06:05 2009
+++ packages/mailcap/run-mailcap Thu Apr 30 18:13:46 2009
@@ -479,7 +479,7 @@
print STDERR " - filename contains shell meta-characters; aliased to '$tmplink'\n" if $debug;
$comm =~ s/([^%])%s/$1$tmplink/g;
} else {
- $comm =~ s/([^%])%s/$1$file/g;
+ $comm =~ s/([^%])%s/$1"$file"/g;
}
} else {
if ($comm =~ m/\|/) {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mailcap/run-mailcap?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list