mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
make the extracting lines for JRUBY optional throw using the DEBUG env variable
Fixes #3251
This commit is contained in:
parent
4b325bd2de
commit
a84387da68
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ namespace "vendor" do
|
|||
next if stat.size == entry_size && (stat.mode & 0777) == entry_mode
|
||||
end
|
||||
end
|
||||
puts "Extracting #{entry.full_name} from #{tarball} #{entry_mode.to_s(8)}"
|
||||
puts "Extracting #{entry.full_name} from #{tarball} #{entry_mode.to_s(8)}" if ENV['DEBUG']
|
||||
File.open(path, "wb") do |fd|
|
||||
# eof? check lets us skip empty files. Necessary because the API provided by
|
||||
# Archive::Tar::Minitar::Reader::EntryStream only mostly acts like an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue