All checks were successful
Test before pr merge / test-lint (pull_request) Successful in 7s
17 lines
311 B
Bash
Executable File
17 lines
311 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd ../
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
py_list="$ROOT_DIR"
|
|
for d in "$ROOT_DIR"/*; do
|
|
[ -d "$d" ] || continue
|
|
py_list="$py_list:$d"
|
|
done
|
|
export PYTHONPATH="${py_list}${PYTHONPATH:+:$PYTHONPATH}"
|
|
|
|
old_dir="$(pwd)"
|
|
cd ../
|
|
python -m cpl.cli.main "$@"
|
|
cd "$old_dir" |