Patrick Williams | 37eda0c | 2015-09-16 09:22:10 -0500 | [diff] [blame] | 1 | if [ -n "$BASH_SOURCE" ]; then |
2 | OBMCROOT="`dirname $BASH_SOURCE`" | ||||
3 | elif [ -n "$ZSH_NAME" ]; then | ||||
4 | OBMCROOT="`dirname $0`" | ||||
5 | else | ||||
6 | OBMCROOT="`pwd`" | ||||
7 | fi | ||||
8 | |||||
9 | if [ -f $OBMCROOT/customrc ]; then | ||||
10 | echo "### Sourcing customrc ###" | ||||
11 | . $OBMCROOT/customrc | ||||
12 | fi | ||||
13 | |||||
14 | echo "### Initializing OE build env ###" | ||||
15 | . $OBMCROOT/oe-init-build-env | ||||
16 |