scripts/poky-autobuild: Source the environmental setup script earlier

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4361 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-04-28 18:50:49 +00:00
parent 6b8df05147
commit 46e8a36d8e

View File

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