Fix prerequisites check in webui.sh
- Check the actually used `$python_cmd` and `$GIT` executables instead of the hardcoded ones - Fix typo in comment
This commit is contained in:
parent
f756bc540a
commit
6a4e846710
1 changed files with 2 additions and 2 deletions
4
webui.sh
4
webui.sh
|
@ -82,8 +82,8 @@ then
|
||||||
clone_dir="${PWD##*/}"
|
clone_dir="${PWD##*/}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check prequisites
|
# Check prerequisites
|
||||||
for preq in git python3
|
for preq in "${GIT}" "${python_cmd}"
|
||||||
do
|
do
|
||||||
if ! hash "${preq}" &>/dev/null
|
if ! hash "${preq}" &>/dev/null
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue