summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-30 11:12:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-30 11:12:21 +0000
commit51fdac39ebd4245fee5b2b641d6c513a43a676b5 (patch)
tree74e7390cce136b8460776a032694c997059c0a24 /win32
parent42bb73cf64bc4a122b80eb2262f5b9c47381a024 (diff)
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
Diffstat (limited to 'win32')
-rw-r--r--win32/setup.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/setup.mak b/win32/setup.mak
index 8676e33..9e00ccc 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