summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
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:26 +0000
commit0ecd748258abfe5ed9e9e2505aeb42b232389968 (patch)
tree8e6e689c802cf87867c03aba2bd02bb26a090704 /meta/lib/oe
parentd17dae0b292ad2c0539712c048bf8cace96dac41 (diff)
downloadopenembedded-core-0ecd748258abfe5ed9e9e2505aeb42b232389968.tar.gz
openembedded-core-0ecd748258abfe5ed9e9e2505aeb42b232389968.tar.bz2
openembedded-core-0ecd748258abfe5ed9e9e2505aeb42b232389968.zip
oe/gpg_sign: fix incorrect variable name
Prevents crash in signing if GPG_PATH is defined. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oe')
-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):
"--passphrase-file '%s' -u '%s' " % \
(self.gpg_bin, self.passphrase_file, self.keyid)
if self.gpg_path:
- gpg_cmd += "--homedir %s " % self.gpg_path
+ cmd += "--homedir %s " % self.gpg_path
cmd += input_file
status, output = oe.utils.getstatusoutput(cmd)
if status: