diff options
author | Daniel M <danielm-github@dnml.de> | 2022-10-14 18:50:21 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-15 07:29:41 +0000 |
commit | 6a4e84671016d38c10a55fedcdf09321dba737ae (patch) | |
tree | 6a9e032730dcb96d8df45335d6a02c87c3868b9d | |
parent | f756bc540a849039d88c19378419838fe87f15b0 (diff) | |
download | stable-diffusion-webui-gfx803-6a4e84671016d38c10a55fedcdf09321dba737ae.tar.gz stable-diffusion-webui-gfx803-6a4e84671016d38c10a55fedcdf09321dba737ae.tar.bz2 stable-diffusion-webui-gfx803-6a4e84671016d38c10a55fedcdf09321dba737ae.zip |
Fix prerequisites check in webui.sh
- Check the actually used `$python_cmd` and `$GIT` executables instead
of the hardcoded ones
- Fix typo in comment
-rwxr-xr-x | webui.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,8 +82,8 @@ then clone_dir="${PWD##*/}" fi -# Check prequisites -for preq in git python3 +# Check prerequisites +for preq in "${GIT}" "${python_cmd}" do if ! hash "${preq}" &>/dev/null then |