summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-01-12 22:42:06 +0900
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2025-12-02 09:55:01 +0900
commit01fd348847a22cee75426373799ebc2b1b797209 (patch)
tree1be286cda4fa073e21d181bd3068b507cc7a4b6b
parent07ea9a38097c088efd6c2872f2a563dbc69a544a (diff)
Win32: Fix @ in middle of commands
`@` is not a command, and cannot be placed after `||`.
-rw-r--r--win32/Makefile.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index edbe2a3402..c27419c990 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -1196,12 +1196,12 @@ ext/clean.sub ext/distclean.sub ext/realclean.sub \
$(MAKE) $(MFLAGS) $(@F) & \
cd %CD% & \
$(RMDIRS) %I \
- ))) || @
+ ))) || $(NULLCMD)
ext/distclean ext/realclean .bundle/distclean .bundle/realclean::
$(Q)cd $(@D) 2>nul && (for /R $(EXTS) %I in (exts.mk*) \
- do $(Q)(del %I & rmdir %~dpI)) || @
- -$(Q)rmdir $(@D) 2> nul || @
+ do $(Q)(del %I & rmdir %~dpI)) || $(NULLCMD)
+ -$(Q)rmdir $(@D) 2> nul || $(NULLCMD)
.bundle/realclean::
@$(RMALL) $(tooldir)/bunlder/*.lock $(srcdir)/.bundle