summaryrefslogtreecommitdiffstats
path: root/stress-server.sh
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-21 11:24:46 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-21 11:24:46 +0200
commit7e358069a9e076a25bb31211e5b7386c231f0f8d (patch)
tree090bf1dc9a3a77fb9e75e721a5e9b67c1327079f /stress-server.sh
parent601218349522d6590478ee979c312cf5e516c701 (diff)
stress-server: fix rootdir
Change-Id: Ic19ffd24be4bba54274150e1b71324e9017b402f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'stress-server.sh')
-rwxr-xr-xstress-server.sh5
1 files 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