Win32: Suppress an error message when baseruby is not found

This commit is contained in:
Nobuyoshi Nakada 2025-07-24 15:42:55 +09:00
parent b246fb604e
commit 4c60e431e1
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465

View file

@ -23,10 +23,10 @@ MFLAGS=-l
# executable in $(tooldir). # executable in $(tooldir).
! if [cd $(tooldir) && ruby missing-baseruby.bat 2> nul] ! if [cd $(tooldir) && ruby missing-baseruby.bat 2> nul]
! else if [(cd $(tooldir) && for %I in (ruby.exe) do @echo BASERUBY = %~s$$PATH:I) > baseruby.mk] ! else if [(cd $(tooldir) && for %I in (ruby.exe) do @echo BASERUBY = %~s$$PATH:I) > baseruby.mk]
! else ! else if exist(baseruby.mk)
! include baseruby.mk ! include baseruby.mk
! endif ! endif
! if [del baseruby.mk] ! if [del baseruby.mk 2> nul]
! endif ! endif
!else if "$(BASERUBY)" == "no" || [($(BASERUBY) -eexit) > nul 2> nul] !else if "$(BASERUBY)" == "no" || [($(BASERUBY) -eexit) > nul 2> nul]
BASERUBY = BASERUBY =