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 4e63e69cc4..22958d97e7 100755 --- a/scripts/oe-run-native +++ b/scripts/oe-run-native | |||
@@ -43,7 +43,7 @@ fi | |||
43 | OLD_PATH=$PATH | 43 | OLD_PATH=$PATH |
44 | 44 | ||
45 | # look for a tool only in native sysroot | 45 | # look for a tool only in native sysroot |
46 | 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") | 46 | 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 -maxdepth 1 -name "*-native" -type d -printf ":%p") |
47 | tool_find=`/usr/bin/which $tool 2>/dev/null` | 47 | tool_find=`/usr/bin/which $tool 2>/dev/null` |
48 | 48 | ||
49 | if [ -n "$tool_find" ] ; then | 49 | if [ -n "$tool_find" ] ; then |