insane.bbclass: Fix thinko in package_qa_check_staged logic for iscrossnative
authorTom Rini <trini@embeddedalley.com>
Sat, 10 Jan 2009 19:08:27 +0000 (14:08 -0500)
committerTom Rini <trini@embeddedalley.com>
Sat, 10 Jan 2009 19:08:27 +0000 (14:08 -0500)
classes/insane.bbclass

index 3e32830..3a2cadc 100644 (file)
@@ -383,12 +383,11 @@ def package_qa_check_staged(path,d):
 
     installed = "installed=yes"
     iscrossnative = False
+    pkgconfigcheck = tmpdir
     for s in ['cross', 'native', 'canadian-cross', 'canadian-native']:
         if bb.data.inherits_class(s, d):
             pkgconfigcheck = workdir
             iscrossnative = True
-    else:
-        pkgconfigcheck = tmpdir
 
     # find all .la and .pc files
     # read the content