20230913 setup GIT_PYTHON_GIT_EXECUTABLE for GitPython

This commit is contained in:
Der Chien
2023-09-13 20:20:01 +08:00
parent 5ef669de08
commit 0ad38a9b87
2 changed files with 3 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ fi
if [[ -z "${GIT}" ]]
then
export GIT="git"
else
export GIT_PYTHON_GIT_EXECUTABLE="${GIT}"
fi
# python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)