11 lines
181 B
Bash
Executable file
11 lines
181 B
Bash
Executable file
#!/bin/sh
|
|
SCRIPTS_DIR="$(dirname $(realpath $0))"
|
|
WORKING_DIR="$(pwd)"
|
|
SCRIPT="$1"
|
|
|
|
shift
|
|
|
|
cd $SCRIPTS_DIR
|
|
|
|
pipenv run sh -c "cd $WORKING_DIR && ${SCRIPTS_DIR}/${SCRIPT}.py \"$@\""
|