From: Markus Lehtonen Date: Mon, 8 Feb 2016 15:20:05 +0000 (+0200) Subject: oe/gpg_sign: fix incorrect variable name X-Git-Tag: yocto-4.0~22635 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ecd748258abfe5ed9e9e2505aeb42b232389968;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oe/gpg_sign: fix incorrect variable name Prevents crash in signing if GPG_PATH is defined. Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton --- diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py index 55abad8ffcd..821787ec7ec 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: