mirror of
https://github.com/openssl/openssl.git
synced 2024-11-24 02:23:51 +08:00
9abce88b4b
It seems that nmake first tries to run executables on its own, and only pass commands to cmd if that fails. That means it's possible to have nmake run something like 'echo.exe' when the builtin 'echo' command was expected, which might give us unexpected results. To get around this, we create our own echoing script and call it explicitly from the nmake makefile. Fixes #6670 Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/6686)
13 lines
174 B
Perl
13 lines
174 B
Perl
#! /usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
use Getopt::Std;
|
|
|
|
our $opt_n = 0;
|
|
|
|
getopts('n') or die "Invalid option: $!\n";
|
|
|
|
print join(' ', @ARGV);
|
|
print "\n" unless $opt_n;
|