From f2d5451a7a25114c8dd79be773ec35d294b7a8cc Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 3 Dec 2017 12:10:19 +0000 Subject: [PATCH] common.mk: ignore error * common.mk ($(REVISION_H)): ignore error when git not found. `--suppress_not_found` option suppresses a warning but does not ignore the error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 2c9f705ce2..f6119f9510 100644 --- a/common.mk +++ b/common.mk @@ -989,7 +989,7 @@ $(srcdir)/revision.h: @exit > $@ $(REVISION_H): $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE) - $(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > revision.tmp + -$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > revision.tmp $(Q)$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp $(srcdir)/ext/ripper/ripper.c: $(srcdir)/parse.y id.h