diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-25 10:37:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-25 10:37:56 +0000 |
commit | 3b53e52a7e8a09d315257941e6d1f571f380a15b (patch) | |
tree | 452179d3d5e38576ce100a04494ec83d8155c7a4 | |
parent | 626622d611dd2eb116f3a5a4d93ab91ebbf7be45 (diff) | |
download | poky-3b53e52a7e8a09d315257941e6d1f571f380a15b.tar.gz |
poky-env-internal: Return in error case
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rwxr-xr-x | scripts/poky-env-internal | 1 |
1 files changed, 1 insertions, 0 deletions
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"` | |||
50 | 50 | ||
51 | if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then | 51 | if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then |
52 | echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?" | 52 | echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?" |
53 | return | ||
53 | fi | 54 | fi |
54 | 55 | ||
55 | if ! (test -r "$BUILDDIR/conf/local.conf"); then | 56 | if ! (test -r "$BUILDDIR/conf/local.conf"); then |