summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 3080114509..c83bc27bf0 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -276,7 +276,7 @@ def sstate_hardcode_path(d):
276 sstate_builddir = bb.data.getVar('SSTATE_BUILDDIR', d, True) 276 sstate_builddir = bb.data.getVar('SSTATE_BUILDDIR', d, True)
277 277
278 for i in file_list.split('\n'): 278 for i in file_list.split('\n'):
279 if not f: 279 if not i:
280 continue 280 continue
281 if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('cross-canadian', d): 281 if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('cross-canadian', d):
282 cmd = "sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging, i) 282 cmd = "sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging, i)