summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-04-28 19:55:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-04-28 19:55:26 +0900
commit37db51b4412ef385d9c57a2b106d9014e69abeab (patch)
tree9fbbb79da676d413859809bdf5dcf1b2d28aaf20 /template
parent73f8d0a9c8ff4bc3d9380a09ec8de2c6f100320c (diff)
Suppress error message when gc is cleaned already [ci skip]
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index b425986a8a..7e88f94c7a 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -569,10 +569,10 @@ ext/distclean ext/realclean .bundle/distclean .bundle/realclean::
@$(RMALL) $(tooldir)/bunlder/*.lock $(srcdir)/.bundle
gc/clean gc/distclean gc/realclean::
- - for gc in gc/*/; do ($(CHDIR) $$gc && exec $(MAKE) TARGET_SO_DIR=./ $(@F)); done || $(NULLCMD)
+ - $(CHDIR) gc 2> /dev/null && for gc in */; do ($(CHDIR) $$gc && exec $(MAKE) TARGET_SO_DIR=./ $(@F)); done || $(NULLCMD)
gc/distclean gc/realclean::
- - for gc in gc/*/; do $(RMDIR) $$gc; done || $(NULLCMD)
+ - $(CHDIR) gc 2> /dev/null && for gc in */; do $(RMDIR) $$gc; done || $(NULLCMD)
clean-enc distclean-enc realclean-enc:
@test -f "$(ENC_MK)" || exit 0; \