From b83265697cae0e211c55a58078c0650bc78b0908 Mon Sep 17 00:00:00 2001 From: simon-p-r Date: Mon, 10 Jul 2017 23:19:33 +0100 Subject: [PATCH] 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) --- util/copy-if-different.pl | 2 +- util/copy.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, $_; } -- 2.25.1