From 7e358069a9e076a25bb31211e5b7386c231f0f8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Fri, 21 Apr 2017 11:24:46 +0200 Subject: [PATCH] stress-server: fix rootdir MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ic19ffd24be4bba54274150e1b71324e9017b402f Signed-off-by: José Bollo --- stress-server.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.16.6