summaryrefslogtreecommitdiffstats
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)
downloadpoky-68ddced930c68997bfd486512dcf3ac2a1c6761c.tar.gz
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 c8b39c9dbf..2000b5bb42 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -44,7 +44,7 @@ fi
44 44
45BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/" 45BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/"
46 46
47PATH="$BITBAKEDIR/bin/:$OEROOT/scripts:$PATH" 47PATH="${OEROOT}/scripts:$BITBAKEDIR/bin/:$PATH"
48 48
49# Remove any symlinks from paths 49# Remove any symlinks from paths
50BITBAKEDIR=`readlink -f "$BITBAKEDIR"` 50BITBAKEDIR=`readlink -f "$BITBAKEDIR"`