mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Handle preperly comments in middle of lines in gems/bundled_gems
This commit is contained in:
parent
428937a536
commit
6b2d9ed2a5
6 changed files with 13 additions and 13 deletions
|
@ -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/' \
|
||||
) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue