aboutsummaryrefslogtreecommitdiffstats
path: root/webui.sh
diff options
context:
space:
mode:
authorDer Chien <der3318@yahoo.com.tw>2023-09-13 12:20:01 +0000
committerDer Chien <der3318@yahoo.com.tw>2023-09-13 12:20:01 +0000
commit0ad38a9b87b7781315ea6324a8aa6c924d1275de (patch)
tree95c074096080e72b26fcf4b7eefb0f7ef085b6b8 /webui.sh
parent5ef669de080814067961f28357256e8fe27544f4 (diff)
downloadstable-diffusion-webui-gfx803-0ad38a9b87b7781315ea6324a8aa6c924d1275de.tar.gz
stable-diffusion-webui-gfx803-0ad38a9b87b7781315ea6324a8aa6c924d1275de.tar.bz2
stable-diffusion-webui-gfx803-0ad38a9b87b7781315ea6324a8aa6c924d1275de.zip
20230913 setup GIT_PYTHON_GIT_EXECUTABLE for GitPython
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui.sh b/webui.sh
index 3d0f87ee..bdab3f05 100755
--- a/webui.sh
+++ b/webui.sh
@@ -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)