ruby-changes:72831
From: Nobuyoshi <ko1@a...>
Date: Fri, 5 Aug 2022 20:47:18 +0900 (JST)
Subject: [ruby-changes:72831] 2f0d9e74c8 (master): Get rid of `-C` option for very old `git`
https://git.ruby-lang.org/ruby.git/commit/?id=2f0d9e74c8 From 2f0d9e74c82c12d253ac808b636385ba27a4b115 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 5 Aug 2022 17:21:05 +0900 Subject: Get rid of `-C` option for very old `git` --- defs/gmake.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/defs/gmake.mk b/defs/gmake.mk index 34f7f49c10..9d055d0f1a 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -324,8 +324,7 @@ $(srcdir)/gems/src/$(1): | $(srcdir)/gems/src https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L324 $(srcdir)/.bundle/gems/$(1)-$(2): | $(srcdir)/gems/src/$(1) .bundle/gems $(ECHO) Copying $(1)@$(3) to $$(@F) - $(Q) $(GIT) -C "$(srcdir)/gems/src/$(1)" fetch origin $(3) - $(Q) $(GIT) -C "$(srcdir)/gems/src/$(1)" checkout $(3) + $(Q) $(CHDIR) "$(srcdir)/gems/src/$(1)" && $(GIT) fetch origin $(3) && $(GIT) checkout $(3) $(Q) $(BASERUBY) -C "$(srcdir)" \ -Itool/lib -rbundled_gem \ -e 'BundledGem.copy("gems/src/$(1)/$(1).gemspec", ".bundle")' -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/