1
0
Fork 0
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:
usa 2005-02-10 03:58:50 +00:00
parent bd1541667c
commit 0de2877326

View file

@ -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