mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
oe-run-native: ensure arguments get quoted
If you pass quoted arguments to oe-run-native, they need to be passed as-is to the underlying tool. Putting quotes around $@ ensures each argument is quoted individually. (From OE-Core rev: a8758653500a2458cd91bf1aa5eb666ad2b45df4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b4317d0ead
commit
9c20b0df5f
|
@ -60,7 +60,7 @@ tool_find=`/usr/bin/which $tool 2>/dev/null`
|
|||
|
||||
if [ -n "$tool_find" ] ; then
|
||||
# add old path to allow usage of host tools
|
||||
PATH=$PATH:$OLD_PATH $@
|
||||
PATH=$PATH:$OLD_PATH "$@"
|
||||
else
|
||||
echo "Error: Unable to find '$tool' in $PATH"
|
||||
echo "Error: Have you run 'bitbake $native_recipe -caddto_recipe_sysroot'?"
|
||||
|
|
Loading…
Reference in New Issue
Block a user