scripts/poky-autobuild: Fix ordering

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4362 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2008-04-28 19:29:37 +00:00
parent 46e8a36d8e
commit 40d86fde50

View File

@ -31,10 +31,13 @@ if [ "xpreamble" = "x$1" ]; then
exit 0
fi
BBTARGET="$1"
shift
. ./scripts/poky-env-internal
POSTPROCESS=`which poky-autobuild-postprocess`
if [ "xcomplete" = "x$1" ]; then
if [ "xcomplete" = "x$BBTARGET" ]; then
touch ./build/tmp/deploy/images/images-complete
chmod a+w ./build/tmp/deploy/images/images-complete
if [ "x$POSTPROCESS" != "x" ]; then
@ -55,9 +58,6 @@ if [ ! -e "$CONFFILE" ]; then
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
fi
BBTARGET="$1"
shift
bitbake $BBTARGET
if [ "x$POSTPROCESS" != "x" ]; then