Allow spaces in filenames when using perl's glob
[openssl.git] / util / copy.pl
index c4bcccdee6b318ed8cc6701c9a67c4bf21d8f607..ef4d8708e24789cc3cfc50fa77ca5f4c7481bbbe 100644 (file)
@@ -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, $_;
                }