mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (create_makefile): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bd1541667c
commit
0de2877326
1 changed files with 1 additions and 1 deletions
|
@ -1080,7 +1080,7 @@ site-install-rb: install-rb
|
|||
rule = /^[$\w][^#]*:/ =~ line unless cont
|
||||
cont = /(?:^|[^\\])(?:\\\\)*\\$/ =~ line
|
||||
if rule
|
||||
line.gsub!(%r"(?<=\s)(?!\.)(?=[^\s\/]+\.(?:#{(SRC_EXT + ['h']).join('|')})(?\s|\z))"o, '{.;$(VPATH)}')
|
||||
line.gsub!(%r"(?<=\s)(?!\.)(?=[^\s\/]+\.(?:#{(SRC_EXT + ['h']).join('|')})(?:\s|\z))"o, '{.;$(VPATH)}')
|
||||
else
|
||||
line.sub!(/^(\.\w+)(\.\w+)(?=\s*:)/, '{.;$(VPATH)}\1{}\2')
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue