From 40d86fde50f27aa4a6ad7cc5b7eefa5f7cf8b745 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 28 Apr 2008 19:29:37 +0000 Subject: scripts/poky-autobuild: Fix ordering git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4362 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- scripts/poky-autobuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/poky-autobuild') diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index b4a4790841..bacaca97cd 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild @@ -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 -- cgit 1.2.3-korg