]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-env-internal: Return in error case
authorRichard Purdie <richard@openedhand.com>
Wed, 25 Jul 2007 10:37:56 +0000 (10:37 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 25 Jul 2007 10:37:56 +0000 (10:37 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/poky-env-internal

index 78a7d45ad01e9135ad95873a0eb29e88d6bfff6d..b3e5d40903efeafb6d11e56658a65cdbcd1a1687 100755 (executable)
@@ -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