From: simon-p-r Date: Mon, 10 Jul 2017 22:19:33 +0000 (+0100) Subject: fix copy and copy-if-different whitespace problem X-Git-Tag: OpenSSL_1_0_2m~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b83265697cae0e211c55a58078c0650bc78b0908;p=oweals%2Fopenssl.git fix copy and copy-if-different whitespace problem From https://github.com/openssl/openssl/pull/1023 CLA: trivial Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3904) --- diff --git a/util/copy-if-different.pl b/util/copy-if-different.pl index ec99e084b5..e1245f54af 100644 --- a/util/copy-if-different.pl +++ b/util/copy-if-different.pl @@ -12,7 +12,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 eba6d5815e..a6b2a54ec6 100644 --- a/util/copy.pl +++ b/util/copy.pl @@ -19,7 +19,7 @@ foreach $arg (@ARGV) { next; } $arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob... - foreach (glob $arg) + foreach (glob qq("$arg")) { push @filelist, $_; }