aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-04-21 22:37:11 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-04-21 22:37:11 -0700
commit25ac9d093dd17ff133cbd65d552c5ba058038736 (patch)
treea51b19cc9cf0c6ee3f1f625a5f92c2fb1c3a6f47
parentwkd: log commands (diff)
downloadwww-25ac9d093dd17ff133cbd65d552c5ba058038736.tar.gz
www-25ac9d093dd17ff133cbd65d552c5ba058038736.tar.bz2
www-25ac9d093dd17ff133cbd65d552c5ba058038736.zip
wkd: use absolute path
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--_plugins/wkd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/wkd.rb b/_plugins/wkd.rb
index 35dd605..7392d55 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(k_)}.flatten
+ gpg = GPG_BASE_COMMAND + Array(keyring).flatten.map {|k_| %w(--keyring) + Array(File.absolute_path(k_))}.flatten
keydata = nil
cmd = gpg + ['--export', *fps]
STDERR.puts("# generate_each_nick command: #{cmd.inspect}")