Skip to contentSkip to conversation

classes/package_rpm: remove unsed outdir variable

PATCH New Stefan Stanacar 1 participant 1 message Sep 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 classes/package_rpm: remove unsed outdir variable

Not only outdir had the wrong value, it wasn't used actually used in that function.

---
 meta/classes/package_rpm.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes/package_rpm.bbclass +1 -2
index 699d0f2..2a7e164 100644
@@ -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
 
Signature · 1 line
1.8.3.1