diff options
Diffstat (limited to 'util/copy-if-different.pl')
| -rwxr-xr-x | util/copy-if-different.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/copy-if-different.pl b/util/copy-if-different.pl index e1245f54aff1..5420f3f2bd30 100755 --- a/util/copy-if-different.pl +++ b/util/copy-if-different.pl @@ -12,7 +12,8 @@ my @filelist; foreach my $arg (@ARGV) { $arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob... - foreach (glob qq("$arg")) + $arg = qq("$arg") if ($arg =~ /\s/); # compensate for bug in 5.10... + foreach (glob $arg) { push @filelist, $_; } |
