From: José Bollo Date: Fri, 21 Apr 2017 09:24:46 +0000 (+0200) Subject: stress-server: fix rootdir X-Git-Tag: dab_3.99.1~42 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=commitdiff_plain;h=7e358069a9e076a25bb31211e5b7386c231f0f8d stress-server: fix rootdir Change-Id: Ic19ffd24be4bba54274150e1b71324e9017b402f Signed-off-by: José Bollo --- diff --git a/stress-server.sh b/stress-server.sh index ec57da57..09d06c44 100755 --- a/stress-server.sh +++ b/stress-server.sh @@ -1,11 +1,10 @@ #!/bin/bash ROOT=$(dirname $0) +cd ${ROOT:-.} +ROOT=$(pwd) echo ROOT=$ROOT -cd $ROOT -pwd - AFB=build/src/afb-daemon HELLO=build/bindings/samples/helloWorld.so PORT=12345