Author: adam-guest
Date: 2008-04-08 21:01:36 +0000 (Tue, 08 Apr 2008)
New Revision: 1319
Modified:
trunk/scripts/debdiff.pl
Log:
More belt-and-braces quoting, just in case...
Modified: trunk/scripts/debdiff.pl
===================================================================
--- trunk/scripts/debdiff.pl 2008-04-08 20:54:15 UTC (rev 1318)
+++ trunk/scripts/debdiff.pl 2008-04-08 21:01:36 UTC (rev 1319)
@@ -442,8 +442,8 @@
and scalar(@excludes) == 0 and $use_interdiff) {
# same orig tar ball and interdiff exists
- my $command = join( " ", ("interdiff", "-z", @diff_opts, $diffs[1],
- $diffs[2], ">", $filename) );
+ my $command = join( " ", ("interdiff", "-z", @diff_opts, "'$diffs[1]'",
+ "'$diffs[2]'", ">", $filename) );
my $rv = system($command);
if ($rv) {
fatal "interdiff -z $diffs[1] $diffs[2] failed!";
@@ -515,7 +515,7 @@
for my $exclude (@excludes) {
push @command, ("--exclude", "'$exclude'");
}
- push @command, ("$dir1/$sdir1", "$dir2/$sdir2");
+ push @command, ("'$dir1/$sdir1'", "'$dir2/$sdir2'");
push @command, (">", $filename);
# Execute diff and remove the common prefixes $dir1/$dir2, so the patch
can be used with -p1,
--
To unsubscribe, send mail to [EMAIL PROTECTED]