diff options
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 16caec158f..943bfabc36 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"] |