scripts/run.sh

10 lines
175 B
Bash
Raw Normal View History

2020-05-22 18:03:23 +02:00
#!/bin/sh
SCRIPTS_DIR="$(dirname $(realpath $0))"
WORKING_DIR="$(pwd)"
SCRIPT="$1"
shift
2020-08-05 17:26:08 +02:00
. $(cd $SCRIPTS_DIR && pipenv --venv)/bin/activate
${SCRIPTS_DIR}/${SCRIPT}.py "$@"