fix orders script running from install directory

This commit is contained in:
Enno Rehling 2018-06-05 21:14:02 +02:00 committed by Enno Rehling
parent 5939b56b32
commit 1c6f598fdd
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#!/bin/sh #!/bin/sh
SCRIPT=$(readlink -f $0)
cd $(dirname $SCRIPT)
python accept-orders.py "$@" python accept-orders.py "$@"

View file

@ -1,3 +1,5 @@
#!/bin/sh #!/bin/sh
SCRIPT=$(readlink -f $0)
cd $(dirname $SCRIPT)
python process-orders.py "$@" python process-orders.py "$@"