diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-27 22:34:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-27 22:34:52 +0000 |
commit | bb7a42ee4e348724060ec3010ad1a904c17d2d25 (patch) | |
tree | 6f403f4b6deb8bbfbd41c5f601ed05bedeeec610 /meta/classes | |
parent | e77207ccdf15f34651a086099ed4816712e3656b (diff) | |
download | openembedded-core-bb7a42ee4e348724060ec3010ad1a904c17d2d25.tar.gz openembedded-core-bb7a42ee4e348724060ec3010ad1a904c17d2d25.tar.bz2 openembedded-core-bb7a42ee4e348724060ec3010ad1a904c17d2d25.zip |
sstate.bbclass: Handle whitespace in the list of files to 'fixup' to resolve log warning
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 96b06adcfe..6e17e7a404 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -276,6 +276,8 @@ def sstate_hardcode_path(d): sstate_builddir = bb.data.getVar('SSTATE_BUILDDIR', d, True) for i in file_list.split('\n'): + if not f: + 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) elif bb.data.inherits_class('cross', d): |