summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-25 21:42:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-25 21:42:42 +0000
commit1f267f1ee5cac23ca05baade186d20f8ad726cf2 (patch)
tree21468a0ed38269a8c87f82b411d9d226f4aecbce /instruby.rb
parent78f457a5d57b06e2e28931e46bef2ee64a0de8a9 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index 16caec1..943bfab 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -46,11 +46,17 @@ end
parse_args()
-include FileUtils::Verbose
+include FileUtils
include FileUtils::NoWrite if $dryrun
@fileutils_output = STDOUT
@fileutils_label = ''
alias makelink ln_sf
+class << self
+ body = proc {|*args|super(*args<<:verbose)}
+ for func in [:install, :makedirs, :makelink]
+ define_method(func, body)
+ end
+end
exeext = CONFIG["EXEEXT"]