From c52339881c949810f1e1e7a3f2172d25ebd50191 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 18 Nov 2002 20:09:46 +0000 Subject: * 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 --- instruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'instruby.rb') 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| -- cgit v1.2.3