diff --git a/util/copy.pl b/util/copy.pl index c4aeea6a18..f93fb251db 100644 --- a/util/copy.pl +++ b/util/copy.pl @@ -26,7 +26,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, $_; }