Commit aede72ef authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

vm_setup: Fix target dir lookups for vpp



Change-Id: Iff83e152954cbe4ead2d937e409036bd95100517
Signed-off-by: default avatarMichal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2738


Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 4290d218
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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