oe-init-build-env: Improve script sourcing detection.
authorGary Thomas <gary@mlbassoc.com>
Mon, 24 Feb 2014 17:11:47 +0000 (17:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Mar 2014 15:11:41 +0000 (08:11 -0700)
commite3943464ea0667b9ea96d0d3c28a5a30c34e3611
treeba18b23bd589add0b8979219417648719cc76db5
parent2027ea4369f755102fc2b8d7f19878e3c5558c11
oe-init-build-env: Improve script sourcing detection.

This script is only useful when sourced into a shell.
These changes improve the detection of this operation,
no matter how the script is referenced.

(From OE-Core rev: cac863e958a0c8fe0f8a84dc194273c699f0c40f)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-init-build-env