From: Richard Purdie Date: Tue, 17 Jul 2007 14:42:16 +0000 (+0000) Subject: poky-env-internal: fixes X-Git-Tag: 2011-1~11217 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7d44fdb7dc59846812b238fc89e587ea03dbfde6;p=openembedded-core.git poky-env-internal: fixes git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index ccbd2088ae..78a7d45ad0 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -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