[SCM] Video extraction utility for YouTube, Google Video and other video sites (Debian packaging) branch, master, updated. upstream/2.1.7-214-g6762190
legatvs
legatvs at gmail.com
Wed Apr 1 14:44:48 UTC 2009
The following commit has been merged in the master branch:
commit 86ac8c8f5715d9c416c29479edc60b9be641b18e
Author: legatvs <legatvs at gmail.com>
Date: Thu Feb 19 02:37:20 2009 +0200
Fixed exec_cmd to quote the file paths.
diff --git a/clive b/clive
index 1a263d3..47a9615 100755
--- a/clive
+++ b/clive
@@ -1443,7 +1443,7 @@ sub verify_exec {
sub exec_cmd {
if ($opts{exec} =~ /;$/) { # semi
foreach (@exec_files) {
- my $cmd = sprintf("%s ",$opts{exec});
+ my $cmd = sprintf('"%s" ',$opts{exec});
$cmd =~ s/%i/"$_"/g;
$cmd =~ tr{;}//d;
system("$cmd");
@@ -1452,7 +1452,7 @@ sub exec_cmd {
my $cmd = sprintf("%s ",$opts{exec});
$cmd =~ tr{%i}//d;
$cmd =~ tr{+}//d;
- $cmd .= sprintf('%s ',$_)
+ $cmd .= sprintf('"%s" ',$_)
foreach (@exec_files);
system("$cmd");
}
--
Video extraction utility for YouTube, Google Video and other video sites (Debian packaging)
More information about the Pkg-perl-cvs-commits
mailing list