]> code.ossystems Code Review - openembedded-core.git/commit
poky-init-build-env: Enable all POSIX shells
authorMark Hatle <mark.hatle@windriver.com>
Thu, 25 Nov 2010 00:06:04 +0000 (18:06 -0600)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 20 Dec 2010 23:00:51 +0000 (23:00 +0000)
commit60ccdaa0ea128ac19113c0746c6e12bd02b2fc12
tree0efebf6cc8559f715afd1dc65d304f85add9e2e4
parent86b6b093374c37aeca87cdc36fc56440919d9458
poky-init-build-env: Enable all POSIX shells

Update the script so that it will work in more then just bash.  If bash
is not used, it will assume the PWD is the Poky location.  (This is because
BASH_SOURCE is a bash-ism, and equivalent functionality is not available in
other shells).

This has been verified with dash (see comment in the code), ksh, zsh and
of course bash.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
poky-init-build-env
scripts/poky-env-internal