scripts/bitbake: ensure user is in build directory
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 13 Mar 2012 12:38:04 +0000 (12:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Mar 2012 13:17:40 +0000 (13:17 +0000)
commit54aaa836eeacea241b986fef20da4384d28e3b87
tree9f3b08a0126a6a21ccf9417a2baaa99bf4ac879c
parent4ee798830d9785e16d59f506958550e8d059f47d
scripts/bitbake: ensure user is in build directory

If the user is in any directory other than $BUILDDIR when the bitbake
wrapper script is run, then show an error an exit.

Fixes [YOCTO #2071].

(From OE-Core rev: b4df1c7c79b5c801658bcf890ba3a8eab3d83189)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/bitbake