summaryrefslogtreecommitdiff
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
commitc52339881c949810f1e1e7a3f2172d25ebd50191 (patch)
tree7b9078c5be0e68a7cf5952a5cff2e1316cbdef94 /instruby.rb
parent7da58dad33a266e668e74c3b59f750706efaab58 (diff)
* instruby.rb: not rewrite installed scripts when dry-run mode.
* lib/ostruct.rb (OpenStruct::initialize): should symbolize keys instead of values. git-svn-id: svn+ssh://ci.ruby-lang.org/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 ee515dc688..747782d430 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|