summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/clonesrc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts/clonesrc.sh')
-rwxr-xr-xtools/ci/scripts/clonesrc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/scripts/clonesrc.sh b/tools/ci/scripts/clonesrc.sh
index bf25e0ed4..6c033b677 100755
--- a/tools/ci/scripts/clonesrc.sh
+++ b/tools/ci/scripts/clonesrc.sh
@@ -1,5 +1,5 @@
#!/bin/bash
rm -rf manaplus || true
-./tools/ci/scripts/retry.sh "git clone --branch master --depth 1 https://gitlab.com/manaplus/manaplus.git manaplus" || exit 1
+./tools/ci/scripts/retry.sh "git clone --branch master --depth ${GIT_DEPTH} https://gitlab.com/manaplus/manaplus.git manaplus" || exit 1
mkdir manaplus/logs || exit 1