poky-env-internal: Return in error case

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2007-07-25 10:37:56 +00:00
parent 626622d611
commit 3b53e52a7e
1 changed files with 1 additions and 0 deletions

View File

@ -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