Skip to content

Commit

Permalink
Fix prerequisites check in webui.sh
Browse files Browse the repository at this point in the history
- Check the actually used `$python_cmd` and `$GIT` executables instead
  of the hardcoded ones
- Fix typo in comment
  • Loading branch information
dnlmlr authored and AUTOMATIC1111 committed Oct 15, 2022
1 parent f756bc5 commit 6a4e846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a4e846

Please sign in to comment.