Skip to content

Commit 37db51b

Browse files
committed
Suppress error message when gc is cleaned already [ci skip]
1 parent 73f8d0a commit 37db51b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,10 +569,10 @@ ext/distclean ext/realclean .bundle/distclean .bundle/realclean::
569569
@$(RMALL) $(tooldir)/bunlder/*.lock $(srcdir)/.bundle
570570

571571
gc/clean gc/distclean gc/realclean::
572-
- for gc in gc/*/; do ($(CHDIR) $$gc && exec $(MAKE) TARGET_SO_DIR=./ $(@F)); done || $(NULLCMD)
572+
- $(CHDIR) gc 2> /dev/null && for gc in */; do ($(CHDIR) $$gc && exec $(MAKE) TARGET_SO_DIR=./ $(@F)); done || $(NULLCMD)
573573

574574
gc/distclean gc/realclean::
575-
- for gc in gc/*/; do $(RMDIR) $$gc; done || $(NULLCMD)
575+
- $(CHDIR) gc 2> /dev/null && for gc in */; do $(RMDIR) $$gc; done || $(NULLCMD)
576576

577577
clean-enc distclean-enc realclean-enc:
578578
@test -f "$(ENC_MK)" || exit 0; \

0 commit comments

Comments
 (0)