lib/rbbt/util/cmd.rb in rbbt-util-5.31.12 vs lib/rbbt/util/cmd.rb in rbbt-util-5.31.13
- old
+ new
@@ -40,10 +40,9 @@
version_txt = ""
version = nil
["--version", "-version", "--help", ""].each do |f|
begin
version_txt += CMD.cmd("#{tool} #{f} 2>&1", :nofail => true).read
- ppp version_txt
version = Misc.scan_version_text(version_txt, tool)
break if version
rescue
Log.exception $!
end