poky-env-internal: unset variables to avoid disturbing new GIT clone

Signed-off-by Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Kevin Tian 2010-05-12 22:43:51 +08:00
parent b6c6913212
commit 5a3f17ee6b
1 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,10 @@ if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
cp -f $POKYLAYERCONF $BUILDDIR/conf/bblayers.conf
fi
# Prevent disturbing a new GIT clone in same console
unset POKYLOCALCONF
unset POKYLAYERCONF
export BBPATH OEROOT BUILD_SYS BUILDDIR
# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make