summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-07-25 10:37:56 +0000
committerRichard Purdie <richard@openedhand.com>2007-07-25 10:37:56 +0000
commit3b53e52a7e8a09d315257941e6d1f571f380a15b (patch)
tree452179d3d5e38576ce100a04494ec83d8155c7a4 /scripts
parent626622d611dd2eb116f3a5a4d93ab91ebbf7be45 (diff)
downloadopenembedded-core-3b53e52a7e8a09d315257941e6d1f571f380a15b.tar.gz
openembedded-core-3b53e52a7e8a09d315257941e6d1f571f380a15b.tar.bz2
openembedded-core-3b53e52a7e8a09d315257941e6d1f571f380a15b.tar.xz
openembedded-core-3b53e52a7e8a09d315257941e6d1f571f380a15b.zip
poky-env-internal: Return in error case
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-env-internal1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 78a7d45ad..b3e5d4090 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -50,6 +50,7 @@ BUILDDIR=`readlink -f "$BUILDDIR"`
if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then
echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?"
+ return
fi
if ! (test -r "$BUILDDIR/conf/local.conf"); then