1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

setup.mak: discard BASERUBY output

* win32/setup.mak: discard output from BASERUBY command, even if
  it contains multiple commands.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-01-30 11:12:21 +00:00
parent 42bb73cf64
commit 51fdac39eb

View file

@ -72,7 +72,7 @@ ENABLE_DEBUG_ENV = $(ENABLE_DEBUG_ENV)
$(BANG)if "$$(BASERUBY)" == ""
BASERUBY = echo executable host ruby is required. use --with-baseruby option.^& exit 1
HAVE_BASERUBY = no
$(BANG)elseif [$$(BASERUBY) -eexit 2> nul] == 0
$(BANG)elseif [($$(BASERUBY) -eexit) > nul 2> nul] == 0
HAVE_BASERUBY = yes
$(BANG)else
HAVE_BASERUBY = no