summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index ebbe3a18df..102a58a230 100644
--- a/common.mk
+++ b/common.mk
@@ -1335,6 +1335,8 @@ update-bundled_gems: PHONY
$(tooldir)/update-bundled_gems.rb \
"$(srcdir)/gems/bundled_gems" | \
"$(IFCHANGE)" "$(srcdir)/gems/bundled_gems" -
+ git -C "$(srcdir)" diff --no-ext-diff --ignore-submodules --exit-code || \
+ git -C "$(srcdir)" commit -m "Update bundled_gems" gems/bundled_gems
test-bundled-gems-precheck: $(TEST_RUNNABLE)-test-bundled-gems-precheck
yes-test-bundled-gems-precheck: main