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
This commit is contained in:
Richard Purdie
2008-04-29 17:12:25 +00:00
parent 3d7c155ff8
commit 5d5fab77cf
2 changed files with 9 additions and 10 deletions

View File

@@ -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/"