summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/vcs.rb3
-rwxr-xr-xtool/make-snapshot2
2 files changed, 1 insertions, 4 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 0c01abb0ac..c6d6cddded 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -52,9 +52,6 @@ module DebugSystem
ret
end
end
-module Kernel
- prepend(DebugSystem)
-end
class VCS
prepend(DebugSystem) if defined?(DebugSystem)
diff --git a/tool/make-snapshot b/tool/make-snapshot
index ec9eb3db35..131d7b91c9 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -52,7 +52,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")