FIX: Selecting VPP packages 62/18062/2
authorPeter Mikus <pmikus@cisco.com>
Wed, 6 Mar 2019 13:05:58 +0000 (13:05 +0000)
committerPeter Mikus <pmikus@cisco.com>
Wed, 6 Mar 2019 13:07:13 +0000 (13:07 +0000)
Change-Id: Id6e093eaf62835606cd6bf7e9157d79c8c33c83a
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/bash/function/artifacts.sh

index 04db2d0..c113561 100644 (file)
@@ -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."