From 51fdac39ebd4245fee5b2b641d6c513a43a676b5 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 30 Jan 2018 11:12:21 +0000 Subject: [PATCH] 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 --- win32/setup.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/setup.mak b/win32/setup.mak index 8676e3335b..9e00ccc118 100644 --- a/win32/setup.mak +++ b/win32/setup.mak @@ -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