Allow nmake to ignore errors
cmd.exe can redirect file descriptor other than STDOUT, while command.com couldn't.
This commit is contained in:
parent
c8d0470bb0
commit
2951e3d83b
Notes:
git
2023-07-10 11:13:51 +00:00
@ -2699,7 +2699,7 @@ MESSAGE
|
||||
when $mswin
|
||||
$nmake = ?m if /nmake/i =~ make
|
||||
end
|
||||
$ignore_error = $nmake ? '' : " 2> #{File::NULL} || true"
|
||||
$ignore_error = " 2> #{File::NULL} || #{$mswin ? 'exit /b0' : 'true'}"
|
||||
|
||||
RbConfig::CONFIG["srcdir"] = CONFIG["srcdir"] =
|
||||
$srcdir = arg_config("--srcdir", File.dirname($0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user