fix orders script running from install directory

This commit is contained in:
Enno Rehling 2018-06-05 21:14:02 +02:00
parent 6a6089b48c
commit 11b18b9b1d
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 "$@"