Fix run script

This commit is contained in:
Simon Bruder 2020-08-05 17:26:08 +02:00
parent 4ee2d5534e
commit 958b092ca4
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

5
run.sh
View file

@ -5,6 +5,5 @@ SCRIPT="$1"
shift shift
cd $SCRIPTS_DIR . $(cd $SCRIPTS_DIR && pipenv --venv)/bin/activate
${SCRIPTS_DIR}/${SCRIPT}.py "$@"
pipenv run sh -c "cd $WORKING_DIR && ${SCRIPTS_DIR}/${SCRIPT}.py \"$@\""