diff options
Diffstat (limited to 'oe-init-build-env-memres')
-rwxr-xr-x | oe-init-build-env-memres | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres index 00079989dc..9b9e0f44b0 100755 --- a/oe-init-build-env-memres +++ b/oe-init-build-env-memres | |||
@@ -60,14 +60,14 @@ if [ -e bitbake.lock ] && grep : bitbake.lock > /dev/null ; then | |||
60 | res=$? | 60 | res=$? |
61 | fi | 61 | fi |
62 | 62 | ||
63 | if [ $res != 0 ] ; then | ||
64 | bitbake --server-only -t xmlrpc -B localhost:$port | ||
65 | fi | ||
66 | |||
63 | if [ $port = -1 ] ; then | 67 | if [ $port = -1 ] ; then |
64 | export BBSERVER=localhost:-1 | 68 | export BBSERVER=localhost:-1 |
65 | echo "Bitbake server started on demand as needed, use bitbake -m to shut it down" | 69 | echo "Bitbake server started on demand as needed, use bitbake -m to shut it down" |
66 | else | 70 | else |
67 | if [ $res != 0 ] ; then | ||
68 | bitbake --server-only -t xmlrpc -B localhost:$port | ||
69 | fi | ||
70 | |||
71 | export BBSERVER=`cat bitbake.lock` | 71 | export BBSERVER=`cat bitbake.lock` |
72 | 72 | ||
73 | if [ $res = 0 ] ; then | 73 | if [ $res = 0 ] ; then |