mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
14 lines
453 B
Bash
Executable file
14 lines
453 B
Bash
Executable file
#! /bin/sh
|
|
|
|
gitrootdir=$(readlink -f "$(dirname "$0")")
|
|
run_python=${PYTHON-python3}
|
|
|
|
echo >&2 "\
|
|
Warning: Running Tito from a git repository is not supported.
|
|
If you are not a developer working on Tito code, please install it properly
|
|
https://github.com/rpm-software-management/tito/blob/main/doc/index.md#install
|
|
"
|
|
|
|
export PYTHONPATH
|
|
PYTHONPATH=$gitrootdir/src/${PYTHONPATH+:"$PYTHONPATH"}
|
|
exec $run_python -c 'from tito.cli import main; main()' "$@"
|