diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-25 21:42:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-25 21:42:42 +0000 |
commit | 8aaa8c8b0e364d780950130296168cdc34783ca6 (patch) | |
tree | 21468a0ed38269a8c87f82b411d9d226f4aecbce /instruby.rb | |
parent | f0103202cc0764f3be151d954b411af0ced8ebcd (diff) | |
download | ruby-8aaa8c8b0e364d780950130296168cdc34783ca6.tar.gz ruby-8aaa8c8b0e364d780950130296168cdc34783ca6.tar.xz ruby-8aaa8c8b0e364d780950130296168cdc34783ca6.zip |
*** empty log message ***
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r-- | instruby.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index 16caec158..943bfabc3 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"] |