]> code.ossystems Code Review - openembedded-core.git/commit
oe-buildenv-internal: Fix BITBAKEDIR changes to work with existing autobuilder scritpts
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 May 2012 07:41:44 +0000 (08:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 May 2012 07:41:50 +0000 (08:41 +0100)
commitec8fbe0d1870285a4a972ddcfe83aa63d720cb80
treeca8bdaf245a6a4279580e717739e4e3370a9caf0
parent8a11f42d3ed526fae0c0bb050d7d0519904591b4
oe-buildenv-internal: Fix BITBAKEDIR changes to work with existing autobuilder scritpts

The BITBAKEDIR change does not work well when the script is sourced from another script
since $2 may be unrelated. This change adds the logic onto the BDIR conditional and
which more external scripts would set, hence avoiding the problem.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-buildenv-internal