From a509d5277d404ac2bcbda3888314ccf5775cf3e6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Oct 2017 23:05:27 +0300 Subject: Use variable GIT_DEPTH in git clone commands. --- tools/ci/scripts/clonesrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2