]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/poky-autobuild: Source the environmental setup script earlier
authorRichard Purdie <richard@openedhand.com>
Mon, 28 Apr 2008 18:50:49 +0000 (18:50 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 28 Apr 2008 18:50:49 +0000 (18:50 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4361 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/poky-autobuild

index 586a57eb55e66f4bc092c112dd25964f99162958..b4a47908413f780e16590367379977daae9421c2 100755 (executable)
@@ -31,6 +31,7 @@ if [ "xpreamble" = "x$1" ]; then
     exit 0
 fi
 
+. ./scripts/poky-env-internal
 POSTPROCESS=`which poky-autobuild-postprocess`
 
 if [ "xcomplete" = "x$1" ]; then
@@ -57,8 +58,6 @@ fi
 BBTARGET="$1"
 shift
 
-. ./scripts/poky-env-internal
-
 bitbake $BBTARGET
 
 if [ "x$POSTPROCESS" != "x" ]; then