X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fartifacts.sh;h=5ead2980b7f39ac4fdbd34c36990959a672742da;hp=07a04c4b73330504cca4f24c10e15cfb25fba7fd;hb=8e7582edf682a7ba7edcb5ec0a45d00e361ec868;hpb=c9ad9e38e1554a86b9ee95844340799660edca1b diff --git a/resources/libraries/bash/function/artifacts.sh b/resources/libraries/bash/function/artifacts.sh index 07a04c4b73..5ead2980b7 100644 --- a/resources/libraries/bash/function/artifacts.sh +++ b/resources/libraries/bash/function/artifacts.sh @@ -18,6 +18,8 @@ set -exuo pipefail function download_artifacts () { # Get and/or install VPP artifacts from packagecloud.io. # + # Variables read: + # - CSIT_DIR - Path to existing root of local CSIT git repository. # Variables set: # - REPO_URL - FD.io Packagecloud repository. @@ -27,7 +29,7 @@ function download_artifacts () { die "Get OS release failed." } - repo_url_path="./VPP_REPO_URL" + repo_url_path="${CSIT_DIR}/VPP_REPO_URL" if [ -e "${repo_url_path}" ]; then REPO_URL="$(<${repo_url_path})" || { die "Read repo URL from ${repo_url_path} failed."