]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-env-internal: fixes
authorRichard Purdie <richard@openedhand.com>
Tue, 17 Jul 2007 14:42:16 +0000 (14:42 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 17 Jul 2007 14:42:16 +0000 (14:42 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/poky-env-internal

index ccbd2088aee662c59d1e71363607da1c4acfaeb0..78a7d45ad01e9135ad95873a0eb29e88d6bfff6d 100755 (executable)
@@ -26,6 +26,8 @@ OEROOT=`pwd`
 
 if [ "x$1" = "x" ]; then
        BDIR="build"
+else
+       BDIR="$1"
 fi
 
 BBDIR="$OEROOT/bitbake/"
@@ -48,7 +50,6 @@ 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?"
-    exit 1
 fi
 
 if ! (test -r "$BUILDDIR/conf/local.conf"); then