diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-29 17:12:25 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-29 17:12:25 +0000 |
commit | 5d5fab77cf9616bf62023c202b38f309f8bbf189 (patch) | |
tree | c59369ead177b00e7a20008ec25ac76475203135 /scripts/poky-env-internal | |
parent | 3d7c155ff801d32a65a922b97f1e46b481120e90 (diff) | |
download | openembedded-core-5d5fab77cf9616bf62023c202b38f309f8bbf189.tar.gz openembedded-core-5d5fab77cf9616bf62023c202b38f309f8bbf189.tar.bz2 openembedded-core-5d5fab77cf9616bf62023c202b38f309f8bbf189.zip |
scripts: Allow passing multiple parameters to the autobuilder
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4370 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/poky-env-internal')
-rwxr-xr-x | scripts/poky-env-internal | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index 489956ebce..78646e3c6e 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -23,11 +23,12 @@ # Also update the locations at the top of conf/local.conf OEROOT=`pwd` - -if [ "x$1" = "x" ]; then - BDIR="build" -else - BDIR="$1" +if [ "x$BDIR" = "x" ]; then + if [ "x$1" = "x" ]; then + BDIR="build" + else + BDIR="$1" + fi fi BBDIR="$OEROOT/bitbake/" |