From: Stefan Stanacar Date: Wed, 11 Sep 2013 18:36:19 +0000 (+0300) Subject: classes/package_rpm: remove unsed outdir variable X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~36043 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5db4b53e5d969a6da314904fa2335462947c97ea;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/package_rpm: remove unsed outdir variable Not only outdir had the wrong value, it wasn't used actually used in that function. Signed-off-by: Stefan Stanacar Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 699d0f200ae..2a7e1642f8f 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -1079,11 +1079,10 @@ python do_package_rpm () { return name workdir = d.getVar('WORKDIR', True) - outdir = d.getVar('DEPLOY_DIR_IPK', True) tmpdir = d.getVar('TMPDIR', True) pkgd = d.getVar('PKGD', True) pkgdest = d.getVar('PKGDEST', True) - if not workdir or not outdir or not pkgd or not tmpdir: + if not workdir or not pkgd or not tmpdir: bb.error("Variables incorrectly set, unable to package") return