diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2023-04-21 22:58:17 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2023-04-21 22:59:18 -0700 |
commit | 75a083be798c78579e3a15241a3e447cc7c20abf (patch) | |
tree | 96b43bb27286ef01b3fc84abb9f9ad86d173507c | |
parent | wkd: use absolute path (diff) | |
download | www-75a083be798c78579e3a15241a3e447cc7c20abf.tar.gz www-75a083be798c78579e3a15241a3e447cc7c20abf.tar.bz2 www-75a083be798c78579e3a15241a3e447cc7c20abf.zip |
Revert "wkd: use absolute path"
This reverts commit 25ac9d093dd17ff133cbd65d552c5ba058038736.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | _plugins/wkd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/wkd.rb b/_plugins/wkd.rb index 7392d55..35dd605 100644 --- a/_plugins/wkd.rb +++ b/_plugins/wkd.rb @@ -44,7 +44,7 @@ module Gentoo # Do not run if we have no fingerprints to do # otherwise GPG will print 'gpg: WARNING: nothing exported' return if fps.empty? - gpg = GPG_BASE_COMMAND + Array(keyring).flatten.map {|k_| %w(--keyring) + Array(File.absolute_path(k_))}.flatten + gpg = GPG_BASE_COMMAND + Array(keyring).flatten.map {|k_| %w(--keyring) + Array(k_)}.flatten keydata = nil cmd = gpg + ['--export', *fps] STDERR.puts("# generate_each_nick command: #{cmd.inspect}") |