aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-07-17 10:35:28 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-07-17 14:33:32 +0200
commit212fd0ba0ad72026eece1babee9d4c3aa0ac4dbf (patch)
tree1a07ca15cbb492ed7cbab9bbca35b51d9d89729e
parent26e04b23ba1b6942aa7c7df478d41dfe7b73e6e0 (diff)
downloadopenembedded-core-contrib-212fd0ba0ad72026eece1babee9d4c3aa0ac4dbf.tar.gz
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rwxr-xr-xscripts/oe-run-native2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-run-native b/scripts/oe-run-native
index 1131122e68..bbdd1d8c1a 100755
--- a/scripts/oe-run-native
+++ b/scripts/oe-run-native
@@ -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'?"