aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2017-02-20 19:25:30 +0100
committerMatej Klotton <mklotton@cisco.com>2017-02-21 12:04:25 +0000
commitd92228369549613e2547c35f11e4bc2ab009d5ca (patch)
tree0b252c64a44ac1320f26a3e1abc1435a83ad4b44
parent001520655b1314d17bb2fcf8067a1e8fad43aa75 (diff)
Fix VPP install packages paths for semiweekly job
Change-Id: Ifabd7dd00b53007202b593ac492c5f869aa8dab5 Signed-off-by: Jan Gelety <jgelety@cisco.com>
-rw-r--r--bootstrap-vpp-verify-semiweekly.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap-vpp-verify-semiweekly.sh b/bootstrap-vpp-verify-semiweekly.sh
index 2897292eb2..6fa505572b 100644
--- a/bootstrap-vpp-verify-semiweekly.sh
+++ b/bootstrap-vpp-verify-semiweekly.sh
@@ -52,7 +52,7 @@ else
UBUNTU )
rm -f *.deb
esac
- # Download the latest VPP build .deb install packages
+ # Download the latest VPP build install packages
echo Downloading VPP packages...
bash ${SCRIPT_DIR}/resources/tools/download_install_vpp_pkgs.sh --skip-install
fi
@@ -60,12 +60,12 @@ fi
# Take vpp package and get the vpp version
case "$DISTRO" in
CENTOS )
- VPP_PKGS="$( readlink -f *.rpm | tr '\n' ' ' )"
+ VPP_PKGS=(*.rpm)
VPP_VER="$( expr match $(ls *.rpm | head -n 1) 'vpp-\(.*\).rpm' )"
echo ${VPP_PKGS[@]}
;;
UBUNTU )
- VPP_PKGS="$( readlink -f *.deb | tr '\n' ' ' )"
+ VPP_PKGS=(*.deb)
VPP_VER="$( expr match $(ls *.deb | head -n 1) 'vpp-\(.*\)-deb.deb' )"
echo ${VPP_PKGS[@]}
esac