aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/download_hc_pkgs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/download_hc_pkgs.sh')
-rwxr-xr-xresources/tools/download_hc_pkgs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/tools/download_hc_pkgs.sh b/resources/tools/download_hc_pkgs.sh
index b958dc97d9..79cccb971a 100755
--- a/resources/tools/download_hc_pkgs.sh
+++ b/resources/tools/download_hc_pkgs.sh
@@ -22,7 +22,6 @@ OS=$2
URL="https://nexus.fd.io/service/local/artifact/maven/content"
VER="RELEASE"
-REPO="fd.io.${STREAM}.${OS}"
GROUP="io.fd.vpp"
HC_GROUP="io.fd.hc2vpp"
NSH_GROUP="io.fd.nsh_sfc"
@@ -44,6 +43,8 @@ elif [ "${OS}" == "centos7" ]; then
CLASS="rpm"
fi
+REPO="fd.io.${STREAM}.${OS}"
+
for ART in ${VPP_ARTIFACTS}; do
for PAC in $PACKAGE; do
curl "${URL}?r=${REPO}&g=${GROUP}&a=${ART}&p=${PAC}&v=${VER}&c=${CLASS}" -O -J || exit