summaryrefslogtreecommitdiff
path: root/scripts/oe-run-native
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-03-27 03:39:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-31 12:25:21 +0100
commit1271d50e622cb3a0eef662de7112da04f05ef5bb (patch)
treeb985d740636329419aa9a6b0db73b02d2cc52e14 /scripts/oe-run-native
parent396e9dcf308a2a6660a84eb36c5ff29f8a0d08de (diff)
downloadopenembedded-core-1271d50e622cb3a0eef662de7112da04f05ef5bb.tar.gz
openembedded-core-1271d50e622cb3a0eef662de7112da04f05ef5bb.tar.bz2
openembedded-core-1271d50e622cb3a0eef662de7112da04f05ef5bb.zip
oe-run-native: OLDPATH -> OLD_PATH
It's a typo. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-run-native')
-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 7e26ea3fcc..f2453e705a 100755
--- a/scripts/oe-run-native
+++ b/scripts/oe-run-native
@@ -40,7 +40,7 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
fi
. $SYSROOT_SETUP_SCRIPT
-OLDPATH=$PATH
+OLD_PATH=$PATH
# look for a tool only in native sysroot
PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$OECORE_NATIVE_SYSROOT/bin:$OECORE_NATIVE_SYSROOT/usr/sbin:$OECORE_NATIVE_SYSROOT/sbin