diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-28 13:54:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-28 13:54:14 +0900 |
commit | 1d83302f32923948d34baa62c6307123864f56a6 (patch) | |
tree | ec8de45cd192e0117880ef8fd46c66e165df77f7 | |
parent | ace2eee544378eb03ea95b95c89434508325e8c8 (diff) |
[Win32] Use `exit` instead of `type` [ci skip]
`exit` command ignores the rest arguments after an exit code, while
`type` command tries to read all as files.
-rw-r--r-- | win32/Makefile.sub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 1aa27a9119..3de53d8372 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -4,7 +4,7 @@ SHELL = $(COMSPEC) ECHO1 = $(V:1=@:) RUNCMD = $(COMSPEC) /c MKFILES = Makefile verconf.mk -NULLCMD = type nul +NULLCMD = exit /b0. # exit ignores the rest NULL = nul CHDIR = cd PATH_SEPARATOR = ; |