Skip to content

Commit

Permalink
release 2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
doudou committed Jun 3, 2019
1 parent bbb9667 commit c26a972
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions lib/autoproj/repository_managers/apt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,12 @@ def source_exist?(source)

def key_exist?(key)
exist = false
Open3.popen3("apt-key export #{key}") do |_, _, stderr, wait_thr|
exist = true if wait_thr.value.success? && stderr.read.empty?
Open3.popen3({'LANG' => 'C'}, 'apt-key', 'export', key) do |_, _, stderr, wait_thr|
success = wait_thr.value.success?
stderr = stderr.read
puts stderr.inspect
has_error = stderr.match(/WARNING: nothing exported/)
exist = success && !has_error
end
exist
end
Expand Down
2 changes: 1 addition & 1 deletion lib/autoproj/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Autoproj
VERSION = "2.10.0"
VERSION = "2.10.1"
end

0 comments on commit c26a972

Please sign in to comment.