diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/extmk.rb.in | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Jul 26 16:01:16 2002 WATANABE Hirofumi <eban@ruby-lang.org> + + * ext/extmk.rb.in (create_makefile): use Regexp in gsub. + Fri Jul 26 14:31:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org> * random.c: replace with Mersenne Twister RNG. diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index c5a929d4fe..71614c8b83 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 |