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>
This commit is contained in:
Markus Lehtonen
2016-02-08 17:20:05 +02:00
committed by Richard Purdie
parent 902a68fbee
commit 8cb1e83a57

View File

@@ -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: