diff options
author | Leonardo Sandoval <leonardo.sandoval@freescale.com> | 2013-03-04 17:45:10 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-05 13:27:49 +0000 |
commit | 545d7aa26dfefdc927e0f4e2cc37398ef2c63fa6 (patch) | |
tree | 150a056a7a2d09642ec05fb38f0ec1dd1f7b4d2b /meta/classes/sstate.bbclass | |
parent | 02849a54d38c0b98db7ff6b52b4974ee0d88bfb4 (diff) | |
download | openembedded-core-545d7aa26dfefdc927e0f4e2cc37398ef2c63fa6.tar.gz openembedded-core-545d7aa26dfefdc927e0f4e2cc37398ef2c63fa6.tar.bz2 openembedded-core-545d7aa26dfefdc927e0f4e2cc37398ef2c63fa6.zip |
sstate.bbclass: Enclose sstate search parameter with quotes
In case filenames have spaces, execution of the function
sstater_install will hang, so the print parameter %s must be
enclosed with quotes.
Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index ee925cd7a0..ce9f243445 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -174,7 +174,7 @@ def sstate_install(ss, d): break if realmatch: match.append(f) - sstate_search_cmd = "grep -rl %s %s --exclude=master.list | sed -e 's:^.*/::' -e 's:\.populate-sysroot::'" % (f, d.expand("${SSTATE_MANIFESTS}")) + sstate_search_cmd = "grep -rl '%s' %s --exclude=master.list | sed -e 's:^.*/::' -e 's:\.populate-sysroot::'" % (f, d.expand("${SSTATE_MANIFESTS}")) search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0] if search_output != "": match.append("Matched in %s" % search_output.rstrip()) |