summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2013-04-05 16:59:46 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-05 22:05:34 (GMT)
commit813127247a1100b1abe179dfba25795560eac864 (patch)
tree39fed74b92dc384d88b7275a606087f366f3e674 /oe-init-build-env
parenta468b0d5579148771da716eaf357e5d45fc3211c (diff)
downloadpoky-813127247a1100b1abe179dfba25795560eac864.tar.gz
oe-init-build-env: Make it use the correct $OEROOT with zsh
(From OE-Core rev: f0aa69296f4c1d4214f9dbea236b0ed330b8154b) Signed-off-by: Peter Kjellerstedt <pkj@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-xoe-init-build-env2
1 files changed, 2 insertions, 0 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 67eddcd..68af7b5 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -30,6 +30,8 @@ if [ -z "$ZSH_NAME" ] && [ "x$0" = "x./oe-init-build-env" ]; then
30else 30else
31 if [ -n "$BASH_SOURCE" ]; then 31 if [ -n "$BASH_SOURCE" ]; then
32 OEROOT="`dirname $BASH_SOURCE`" 32 OEROOT="`dirname $BASH_SOURCE`"
33 elif [ -n "$ZSH_NAME" ]; then
34 OEROOT="`dirname $0`"
33 else 35 else
34 OEROOT="`pwd`" 36 OEROOT="`pwd`"
35 fi 37 fi