]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Avoid redirection to quoted filename
authorTanzinul Islam <tanzinul.islam@gmail.com>
Thu, 19 Nov 2020 23:25:22 +0000 (23:25 +0000)
committerDmitry Belyavskiy <beldmit@gmail.com>
Mon, 19 Apr 2021 09:05:54 +0000 (11:05 +0200)
C++Builder's `make.exe` cannot handle a command output redirection to a
quoted filename, saying: "The system cannot find the file specified."

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)

Configurations/windows-makefile.tmpl

index feb9bb1a11cad822d39cf791dbb7b0cd716fc477..d9cc0e53e32fcf091f87b457f8313775b8fd4b5f 100644 (file)
@@ -955,7 +955,7 @@ EOF
       return <<"EOF";
 $script: $sources
        "\$(PERL)" "-I\$(BLDDIR)" -Mconfigdata "$dofile" \\
-           "-o$target{build_file}" $sources > "$script"
+           "-o$target{build_file}" $sources > \$@
 EOF
   }
   sub generatedir {