From 93146d91dcc3ecd1359fc0d9b2e4cc599bee261f Mon Sep 17 00:00:00 2001 From: Graham whaley Date: Fri, 23 Mar 2018 09:54:59 +0000 Subject: [PATCH] ci: lib: allow override of tests_repo Only set the tests_repo url to the default if it is not set already. Fixes: #71 Signed-off-by: Graham whaley --- .ci/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/lib.sh b/.ci/lib.sh index a3f1630267..c5c8582f46 100644 --- a/.ci/lib.sh +++ b/.ci/lib.sh @@ -3,7 +3,7 @@ # # SPDX-License-Identifier: Apache-2.0 -export tests_repo="github.com/kata-containers/tests" +export tests_repo="${tests_repo:-github.com/kata-containers/tests}" export tests_repo_dir="$GOPATH/src/$tests_repo" clone_tests_repo()