summaryrefslogtreecommitdiff
path: root/defs/gmake.mk
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-08 16:46:57 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-08 17:48:43 +0900
commit59905883c42625d039f40306598646853f2cc794 (patch)
treefca557053c9f22096f92a60382120fcec24ec85e /defs/gmake.mk
parent0c9733ea86de7860e598db74d61cf42d9eeb4daf (diff)
BundledGem.dummy_spec needs to checkout revision after cloning repository.
The current BundledGem.dummy_spec always called from master branch. It caused to CI faiulres like http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20230305T001003Z.fail.html.gz
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7475
Diffstat (limited to 'defs/gmake.mk')
-rw-r--r--defs/gmake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 53eec5cf5f..c978af38f2 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -354,7 +354,7 @@ $(srcdir)/.bundle/.timestamp/$(1).revision: \
# The repository of minitest does not include minitest.gemspec because it uses hoe.
# This creates a dummy gemspec.
-$(srcdir)/gems/src/$(1)/$(1).gemspec: \
+$(srcdir)/gems/src/$(1)/$(1).gemspec: $(srcdir)/.bundle/.timestamp/$(1).revision \
| $(srcdir)/gems/src/$(1)/.git
$(Q) $(BASERUBY) -I$(tooldir)/lib -rbundled_gem -e 'BundledGem.dummy_gemspec(*ARGV)' $$(@)