summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-02-08 17:20:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-11 12:27:46 +0000
commit8cb1e83a579fa944f7687d32e3d51901a144ed87 (patch)
treeecb1f18595a1cde8b24eb7d2f373b0773aa31b69
parent902a68fbeefa44681a72b6f370834b8c6c897bf2 (diff)
downloadpoky-8cb1e83a579fa944f7687d32e3d51901a144ed87.tar.gz
oe/gpg_sign: fix incorrect variable name
Prevents crash in signing if GPG_PATH is defined. (From OE-Core rev: 0ecd748258abfe5ed9e9e2505aeb42b232389968) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/gpg_sign.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index 55abad8ffc..821787ec7e 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b/meta/lib/oe/gpg_sign.py
@@ -58,7 +58,7 @@ class LocalSigner(object):
58 "--passphrase-file '%s' -u '%s' " % \ 58 "--passphrase-file '%s' -u '%s' " % \
59 (self.gpg_bin, self.passphrase_file, self.keyid) 59 (self.gpg_bin, self.passphrase_file, self.keyid)
60 if self.gpg_path: 60 if self.gpg_path:
61 gpg_cmd += "--homedir %s " % self.gpg_path 61 cmd += "--homedir %s " % self.gpg_path
62 cmd += input_file 62 cmd += input_file
63 status, output = oe.utils.getstatusoutput(cmd) 63 status, output = oe.utils.getstatusoutput(cmd)
64 if status: 64 if status: