From 1697a81bafcc9a65012b62ba01c1661bf40e5edb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 3 May 2016 23:58:38 +0200 Subject: Allow spaces in filenames when using perl's glob Reviewed-by: Matt Caswell --- util/copy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/copy.pl') diff --git a/util/copy.pl b/util/copy.pl index c4bcccdee6..ef4d8708e2 100644 --- a/util/copy.pl +++ b/util/copy.pl @@ -26,7 +26,7 @@ foreach $arg (@ARGV) { next; } $arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob... - foreach (glob $arg) + foreach (glob qq("$arg")) { push @filelist, $_; } -- cgit v1.2.3