From aede72ef436c37d28f6e8f2a5093b34a418584ce Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Tue, 2 Jun 2020 11:07:05 +0200 Subject: [PATCH] vm_setup: Fix target dir lookups for vpp Change-Id: Iff83e152954cbe4ead2d937e409036bd95100517 Signed-off-by: Michal Berger Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2738 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Karol Latecki Reviewed-by: Tomasz Zawadzki --- test/common/config/pkgdep/git | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/config/pkgdep/git b/test/common/config/pkgdep/git index c1da1ef86..4a3861f9a 100644 --- a/test/common/config/pkgdep/git +++ b/test/common/config/pkgdep/git @@ -192,9 +192,9 @@ function install_qemu() { } function install_vpp() { - if [ -d /usr/local/src/vpp ]; then + if [[ -d /usr/local/src/vpp-19.04 ]]; then echo "vpp already cloned." - if [ ! -d /usr/local/src/vpp/build-root ]; then + if [[ ! -d /usr/local/src/vpp-19.04/build-root ]]; then echo "build-root has not been done" echo "remove the $(pwd) and start again" exit 1