dont assume current directory in scripts

This commit is contained in:
Bruno Windels
2018-07-18 18:04:31 +02:00
parent 2cb83334ed
commit 01612f71bf
5 changed files with 18 additions and 2 deletions
+3
View File
@@ -1,4 +1,7 @@
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
pushd installations/consent
source env/bin/activate
./synctl start
popd
popd
+3
View File
@@ -1,4 +1,7 @@
BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR
pushd installations/consent
source env/bin/activate
./synctl stop
popd
popd