Fix to try to use single depth when cloning

This commit is contained in:
Ilia Ross
2024-12-31 00:36:22 +02:00
parent c122d13747
commit e9ef704787

View File

@@ -213,7 +213,7 @@ make_prod_repos() {
# Webmin or Usermin
if [ ! -d "$root_prod" ]; then
local repo="webmin/$prod.git"
cmd="git clone $GIT_BASE_URL/$repo $VERBOSITY_LEVEL"
cmd="git clone --depth 1 $GIT_BASE_URL/$repo $VERBOSITY_LEVEL"
eval "$cmd"
if [ ! -d "webmin" ]; then
cmd="git clone --depth 1 $WEBMIN_REPO \