From 3b53e52a7e8a09d315257941e6d1f571f380a15b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 25 Jul 2007 10:37:56 +0000 Subject: poky-env-internal: Return in error case git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- scripts/poky-env-internal | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index 78a7d45ad0..b3e5d40903 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 -- cgit v1.2.3-54-g00ecf