summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env-memres
diff options
context:
space:
mode:
Diffstat (limited to 'oe-init-build-env-memres')
-rwxr-xr-xoe-init-build-env-memres8
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=$?
61fi 61fi
62 62
63if [ $res != 0 ] ; then
64 bitbake --server-only -t xmlrpc -B localhost:$port
65fi
66
63if [ $port = -1 ] ; then 67if [ $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"
66else 70else
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