Browse Source

lintian-junit-report: do not use "--" as option separator

lintian complains about:

| warning: cannot find binary, udeb or source package -- in lab (skipping)

otherwise.

Verified with lintian v2.5.22.1~bpo70+1
merge-requests/109/head
Michael Prokop 8 years ago
parent
commit
402015707a
  1. 2
      scripts/lintian-junit-report

2
scripts/lintian-junit-report

@ -92,7 +92,7 @@ start = Time.now.to_f
lintian_options << "--info" unless options[:disablenotes]
# Ruby 1.8's IO.popen expects a string instead of an array :(
lintian_cmd = (['lintian'] + lintian_options + ['--'] + files).collect { |v| Shellwords.escape(v) }.join(" ")
lintian_cmd = (['lintian'] + lintian_options + files).collect { |v| Shellwords.escape(v) }.join(" ")
$output = IO.popen(lintian_cmd) do |io|
io.read
end

Loading…
Cancel
Save