1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Get rid of -C option for very old git

This commit is contained in:
Nobuyoshi Nakada 2022-08-05 17:21:05 +09:00
parent 74817f3d37
commit 2f0d9e74c8
Notes: git 2022-08-05 20:47:24 +09:00

View file

@ -324,8 +324,7 @@ $(srcdir)/gems/src/$(1): | $(srcdir)/gems/src
$(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")'