mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Prepend DebugSystem to VCS class only
And revert 24e5f1c982
, pepending to
Kernel did not affect the top level methods before 3.0.
This commit is contained in:
parent
24e5f1c982
commit
b8386f7f7f
2 changed files with 1 additions and 4 deletions
|
@ -52,9 +52,6 @@ module DebugSystem
|
|||
ret
|
||||
end
|
||||
end
|
||||
module Kernel
|
||||
prepend(DebugSystem)
|
||||
end
|
||||
|
||||
class VCS
|
||||
prepend(DebugSystem) if defined?(DebugSystem)
|
||||
|
|
|
@ -56,7 +56,7 @@ PACKAGES = {
|
|||
"zip" => %w".zip zip -Xqr",
|
||||
}
|
||||
DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
|
||||
if !$no7z and system("7z", out: IO::NULL, exception: false)
|
||||
if !$no7z and system("7z", out: IO::NULL)
|
||||
PACKAGES["gzip"] = %w".tar.gz 7z a dummy -tgzip -mx -so"
|
||||
PACKAGES["zip"] = %w".zip 7z a -tzip -l -mx -mtc=off" << {out: IO::NULL}
|
||||
elsif gzip = ENV.delete("GZIP")
|
||||
|
|
Loading…
Reference in a new issue