aboutsummaryrefslogtreecommitdiffstats
path: root/util/copy.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/copy.pl')
-rw-r--r--util/copy.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/copy.pl b/util/copy.pl
index a6b2a54ec6f0..9c0e68c41467 100644
--- a/util/copy.pl
+++ b/util/copy.pl
@@ -19,7 +19,8 @@ foreach $arg (@ARGV) {
next;
}
$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, $_;
}