Handle preperly comments in middle of lines in gems/bundled_gems

This commit is contained in:
Nobuyoshi Nakada 2025-08-12 13:47:22 +09:00
parent 428937a536
commit 6b2d9ed2a5
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
6 changed files with 13 additions and 13 deletions

View file

@ -309,7 +309,7 @@ HELP_EXTRA_TASKS = \
# 4. "gem x.y.z URL" -> "gem-x.y.z"
bundled-gems := $(shell sed \
-e 's/[ ][ ]*/ /g' \
-e 's/^ //;/\#/d;s/ *$$//;/^$$/d' \
-e 's/^ //;s/\#.*//;s/ *$$//;/^$$/d' \
$(if $(filter yes,$(HAVE_GIT)), \
-e 's/^\(.*\) \(.*\) \(.*\) \(.*\)/\1|\2|\4|\3/' \
) \