diff options
-rwxr-xr-x | scripts/oe-run-native | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-run-native b/scripts/oe-run-native index bbdd1d8c1a..a29e99438a 100755 --- a/scripts/oe-run-native +++ b/scripts/oe-run-native | |||
@@ -55,7 +55,7 @@ fi | |||
55 | OLD_PATH=$PATH | 55 | OLD_PATH=$PATH |
56 | 56 | ||
57 | # look for a tool only in native sysroot | 57 | # look for a tool only in native sysroot |
58 | PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$OECORE_NATIVE_SYSROOT/bin:$OECORE_NATIVE_SYSROOT/usr/sbin:$OECORE_NATIVE_SYSROOT/sbin | 58 | PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$OECORE_NATIVE_SYSROOT/bin:$OECORE_NATIVE_SYSROOT/usr/sbin:$OECORE_NATIVE_SYSROOT/sbin$(find $OECORE_NATIVE_SYSROOT/usr/bin/*-native -maxdepth 1 -type d -printf ":%p") |
59 | tool_find=`/usr/bin/which $tool 2>/dev/null` | 59 | tool_find=`/usr/bin/which $tool 2>/dev/null` |
60 | 60 | ||
61 | if [ -n "$tool_find" ] ; then | 61 | if [ -n "$tool_find" ] ; then |