summaryrefslogtreecommitdiffstats
path: root/poky-init-build-env
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-28 10:49:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-23 15:43:48 +0000
commitd5f96d23448589b2c7d361cc469d2efa8c75ea1e (patch)
tree57760e69602716013f583c5f840d4b22ef617563 /poky-init-build-env
parent26615658439baab3f8609af8bfaad24344178179 (diff)
downloadpoky-d5f96d23448589b2c7d361cc469d2efa8c75ea1e.tar.gz
poky-init-build-env: unbork for zsh
(From OE-Core rev: 3ef80db73c69b8a731beb8ea4921357a041564e5) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'poky-init-build-env')
-rwxr-xr-xpoky-init-build-env2
1 files changed, 1 insertions, 1 deletions
diff --git a/poky-init-build-env b/poky-init-build-env
index 82590f2012..3c8aa5341b 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -25,7 +25,7 @@
25# being sourced. To workaround the shell limitation use "set arg1" prior 25# being sourced. To workaround the shell limitation use "set arg1" prior
26# to sourcing this script. 26# to sourcing this script.
27# 27#
28if [ "x$0" = "x./poky-init-build-env" ]; then 28if [ -z "$ZSH_NAME" ] && [ "x$0" = "x./poky-init-build-env" ]; then
29 echo "Error: This script needs to be sourced. Please run as '. ./poky-init-build-env'" 29 echo "Error: This script needs to be sourced. Please run as '. ./poky-init-build-env'"
30else 30else
31 if [ -n "$BASH_SOURCE" ]; then 31 if [ -n "$BASH_SOURCE" ]; then