summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-27 23:26:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-27 23:26:10 +0000
commit754047b6ec01df5f3159cce93b17b8493d0af5e1 (patch)
tree776549932d3f1e7537e8deb29391bec3a0953e2c
parent021cf7dabf891316a1e909d3972a5232ca53ec80 (diff)
downloadopenembedded-core-754047b6ec01df5f3159cce93b17b8493d0af5e1.tar.gz
openembedded-core-754047b6ec01df5f3159cce93b17b8493d0af5e1.tar.bz2
openembedded-core-754047b6ec01df5f3159cce93b17b8493d0af5e1.tar.xz
openembedded-core-754047b6ec01df5f3159cce93b17b8493d0af5e1.zip
sstate.bbclass: Fix stupid typo
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 308011450..c83bc27bf 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -276,7 +276,7 @@ def sstate_hardcode_path(d):
sstate_builddir = bb.data.getVar('SSTATE_BUILDDIR', d, True)
for i in file_list.split('\n'):
- if not f:
+ if not i:
continue
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):
cmd = "sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging, i)