summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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