Fix VPP install packages paths for semiweekly job 41/5441/2
authorJan Gelety <jgelety@cisco.com>
Mon, 20 Feb 2017 18:25:30 +0000 (19:25 +0100)
committerMatej Klotton <mklotton@cisco.com>
Tue, 21 Feb 2017 12:04:25 +0000 (12:04 +0000)
Change-Id: Ifabd7dd00b53007202b593ac492c5f869aa8dab5
Signed-off-by: Jan Gelety <jgelety@cisco.com>
bootstrap-vpp-verify-semiweekly.sh

index 2897292..6fa5055 100644 (file)
@@ -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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.