summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-05-03 23:58:38 +0200
committerRichard Levitte <levitte@openssl.org>2016-05-04 09:35:00 +0200
commit1697a81bafcc9a65012b62ba01c1661bf40e5edb (patch)
tree3a0da624405da643a48b1138a0c6b7159a7c3c6a /util
parentc6cb8e3ca455d6a23be35bc3e076e91da665a292 (diff)
Allow spaces in filenames when using perl's glob
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/copy-if-different.pl2
-rw-r--r--util/copy.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/copy-if-different.pl b/util/copy-if-different.pl
index 63a9a05f31..2bf7835827 100755
--- a/util/copy-if-different.pl
+++ b/util/copy-if-different.pl
@@ -18,7 +18,7 @@ my @filelist;
foreach my $arg (@ARGV) {
$arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob...
- foreach (glob $arg)
+ foreach (glob qq("$arg"))
{
push @filelist, $_;
}
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, $_;
}