From 754047b6ec01df5f3159cce93b17b8493d0af5e1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 27 Jan 2011 23:26:10 +0000 Subject: sstate.bbclass: Fix stupid typo Signed-off-by: Richard Purdie --- meta/classes/sstate.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') 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) -- cgit v1.2.3