From 11b18b9b1deeccbd2fc98509f8682ebcc1a2f241 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 5 Jun 2018 21:14:02 +0200 Subject: [PATCH] fix orders script running from install directory --- process/orders-accept | 2 ++ process/orders-process | 2 ++ 2 files changed, 4 insertions(+) diff --git a/process/orders-accept b/process/orders-accept index bd8ae523f..266424a41 100755 --- a/process/orders-accept +++ b/process/orders-accept @@ -1,3 +1,5 @@ #!/bin/sh +SCRIPT=$(readlink -f $0) +cd $(dirname $SCRIPT) python accept-orders.py "$@" diff --git a/process/orders-process b/process/orders-process index 09ca7dc0c..38b2d1115 100755 --- a/process/orders-process +++ b/process/orders-process @@ -1,3 +1,5 @@ #!/bin/sh +SCRIPT=$(readlink -f $0) +cd $(dirname $SCRIPT) python process-orders.py "$@"