From 1d83302f32923948d34baa62c6307123864f56a6 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 28 Aug 2022 13:54:14 +0900 Subject: [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. --- win32/Makefile.sub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') 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 = ; -- cgit v1.2.3