diff options
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-x | oe-init-build-env | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oe-init-build-env b/oe-init-build-env index 67eddcd295..68af7b5193 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 | |||
30 | else | 30 | else |
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 |