summaryrefslogtreecommitdiffstats
path: root/instruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-18 20:09:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-18 20:09:46 +0000
commit6aef9c1c6b750753ca9a1e22f35934e8e7552b07 (patch)
tree7b9078c5be0e68a7cf5952a5cff2e1316cbdef94 /instruby.rb
parent7aa01eb473f25c7a135566c430d53f2600fe87d0 (diff)
downloadruby-6aef9c1c6b750753ca9a1e22f35934e8e7552b07.tar.gz
ruby-6aef9c1c6b750753ca9a1e22f35934e8e7552b07.tar.xz
ruby-6aef9c1c6b750753ca9a1e22f35934e8e7552b07.zip
* instruby.rb: not rewrite installed scripts when dry-run mode.
* lib/ostruct.rb (OpenStruct::initialize): should symbolize keys instead of values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index ee515dc68..747782d43 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -114,7 +114,7 @@ for src in Dir["bin/*"]
f.print shebang.sub(/ruby/, ruby_install_name), *body
f.truncate(f.pos)
- }
+ } unless $dryrun
end
Dir.glob("lib/**/*{.rb,help-message}") do |f|