diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-13 07:26:52 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-13 07:26:52 +0000 |
commit | a8739621cf62695282ab971cac9c6ea48745b027 (patch) | |
tree | 765f4580f411e47e597020f66ce2c80075817c02 /instruby.rb | |
parent | f6628871b5d7d1b237dfebcee09b4c304ed6d1d9 (diff) |
* lib/uri/generic.rb: revert r15442. 2nd argument of String#sub parse
escapes. [ruby-dev:33726]
* bootstraptest/test_method.rb enc/depend instruby.rb lib/mkmf.rb
mkconfig.rb: revert r15443. ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rwxr-xr-x | instruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index 8380df41fb..9b07951e89 100755 --- a/instruby.rb +++ b/instruby.rb @@ -275,7 +275,7 @@ install?(:local, :comm, :bin) do shebang = f.gets body = f.read - if shebang.sub!(/^\#!.*?ruby\b/, "#!" + ruby_shebang) + if shebang.sub!(/^\#!.*?ruby\b/) {"#!" + ruby_shebang} f.rewind f.print shebang, body f.truncate(f.pos) |