aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-03-06 13:05:58 +0000
committerPeter Mikus <pmikus@cisco.com>2019-03-06 13:07:13 +0000
commita1e7653789cf39773b717bb8dda0400d4683c96e (patch)
tree7016f3a54df6c211bad991af3e811d603c55e3d2 /resources/libraries/bash
parent321646c9bbb39fd8bb41e44530f10d2f39d4e9fc (diff)
FIX: Selecting VPP packages
Change-Id: Id6e093eaf62835606cd6bf7e9157d79c8c33c83a Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/bash')
-rw-r--r--resources/libraries/bash/function/artifacts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/artifacts.sh b/resources/libraries/bash/function/artifacts.sh
index 04db2d0069..c11356109a 100644
--- a/resources/libraries/bash/function/artifacts.sh
+++ b/resources/libraries/bash/function/artifacts.sh
@@ -98,7 +98,7 @@ function download_ubuntu_artifacts () {
pkg_info=$(apt-cache show ${package}) || {
die "apt-cache show on ${package} failed."
}
- ver=$(echo ${pkg_info} | grep -o "Version: ${VPP_VERSION-}[^ ]*" \
+ ver=$(echo ${pkg_info} | grep -o "Version: ${VPP_VERSION-}[^ ]*" | \
head -1) || true
if [ -n "${ver-}" ]; then
echo "Found '${VPP_VERSION-}' among '${package}' versions."