summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-26 07:05:40 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-26 07:05:40 +0000
commitd365d1f568af2a0651959a9eb928435d3a733acb (patch)
tree09823a4a69d8fb4cfaffd93e1828cb2df8c62ba9 /ext/extmk.rb.in
parente301edc1c502f40806001938c74b90bcf9416766 (diff)
* ext/extmk.rb.in (create_makefile): use Regexp in gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index c5a929d..71614c8 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -649,7 +649,7 @@ $(DLLIB): $(OBJS)
else
line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
end
- mfile.printf "%s", line.gsub('\$\(hdrdir\)/config.h', '$(topdir)/config.h')
+ mfile.printf "%s", line.gsub(/\$\(hdrdir\)\/config.h/, '$(topdir)/config.h')
end
dfile.close
end