]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: fix bashism
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 4 Jul 2013 12:53:55 +0000 (12:53 +0000)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 29 Jul 2013 08:24:25 +0000 (09:24 +0100)
commit135e681a3f3004a925b46b03cdada2fd86fc6c93
treec665fb5c2af3a275b00c4bcaccf842e355cdf7f0
parent407e57879ea2f931bff32993b850c9d59d228303
populate_sdk_base: fix bashism

Only the printf bash builtin knows about %q format option for escaping
spaces. The coreutils version doesn't. Unfortunately, neither dash nor
sh have a printf builtin. So, escape the spaces using sed.

[YOCTO #4811]

(From OE-Core master rev: 6ac06a65ce52d4c123da53f115c84cb0a98bc18f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass