summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-17 13:25:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-17 13:25:11 +0000
commit68ddced930c68997bfd486512dcf3ac2a1c6761c (patch)
tree50a8e71a603cfd6e8b0928bb9d57fe8562cec873
parenta86f960f651c561bb104723aa0b4cd0922a3425a (diff)
downloadopenembedded-core-68ddced930c68997bfd486512dcf3ac2a1c6761c.tar.gz
openembedded-core-68ddced930c68997bfd486512dcf3ac2a1c6761c.tar.bz2
openembedded-core-68ddced930c68997bfd486512dcf3ac2a1c6761c.tar.xz
openembedded-core-68ddced930c68997bfd486512dcf3ac2a1c6761c.zip
poky-env-internal: Search scripts before the bitbake directory so we can override bitbake's main script
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rwxr-xr-xscripts/poky-env-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index c8b39c9db..2000b5bb4 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -44,7 +44,7 @@ fi
BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/"
-PATH="$BITBAKEDIR/bin/:$OEROOT/scripts:$PATH"
+PATH="${OEROOT}/scripts:$BITBAKEDIR/bin/:$PATH"
# Remove any symlinks from paths
BITBAKEDIR=`readlink -f "$BITBAKEDIR"`