diff --git a/share/run.sh b/share/run.sh index 2a9a326..5585313 100644 --- a/share/run.sh +++ b/share/run.sh @@ -5,4 +5,5 @@ LD_LIBRARY_PATH=:/usr/local/lib/arm-linux-gnueabihf/ export LD_LIBRARY_PATH -while true; do ./be-server; done +SCRIPT=$(dirname $(readlink -f "$0")) +while true; do $SCRIPT/be-server $*; done