diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-07-05 18:59:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-07-05 18:59:06 +0900 |
commit | 358f91bf6f9999ba4683f702bc47483789bd4e7e (patch) | |
tree | c81cd98acb3dd647b63aa1f2e99ad75d3053c63b /defs/gmake.mk | |
parent | 41168f69fbeb32cfc88210911d62e419b8116589 (diff) | |
download | ruby-358f91bf6f9999ba4683f702bc47483789bd4e7e.tar.gz |
Skip comment and empty lines in gems/bundled_gems file
Diffstat (limited to 'defs/gmake.mk')
-rw-r--r-- | defs/gmake.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk index ba461f88cf..a04707febd 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -248,7 +248,7 @@ HELP_EXTRA_TASKS = \ extract-gems: update-gems -BUNDLED_GEMS := $(shell sed 's/[ ][ ]*/-/;s/[ ].*//' $(srcdir)/gems/bundled_gems) +BUNDLED_GEMS := $(shell sed '/^[ ]*#/d;/^[ ]*$$/d;s/[ ][ ]*/-/;s/[ ].*//' $(srcdir)/gems/bundled_gems) update-gems: | $(patsubst %,gems/%.gem,$(BUNDLED_GEMS)) |