diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-06 03:06:11 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-06 03:06:11 +0000 |
commit | 564edcce1817c52b0e8ec5d282896d68bca35d70 (patch) | |
tree | 2943db63ed90d0dd1388535e5de536bf3fade932 /win32/Makefile.sub | |
parent | a7a2b1d8f312e3fbbf4412de5266034fc530d9e7 (diff) | |
download | ruby-564edcce1817c52b0e8ec5d282896d68bca35d70.tar.gz |
* win32/Makefile.sub (config.status): use sub! instead of []= because
[]= causes exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 03422778cb..c75c248ab4 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -254,7 +254,7 @@ config.h: Makefile $(srcdir)/win32/Makefile.sub config.status: Makefile $(srcdir)/win32/Makefile.sub $(MINIRUBY) @echo Creating config.status - @$(MINIRUBY) -pe "chomp(' ');~/@CFLAGS@/||$$_['$(CFLAGS)']='$$(CFLAGS)'" << > $@ + @$(MINIRUBY) -pe "~/@CFLAGS@/||$$_.sub!(/#{Regexp.quote('$(CFLAGS)')}/o, '$$(CFLAGS)')" << > $@ # Generated automatically by Makefile.sub. s,@SHELL@,$$(COMSPEC),;t t s,@CFLAGS@,$(CFLAGS),;t t |