vm_setup: Fix target dir lookups for vpp
Change-Id: Iff83e152954cbe4ead2d937e409036bd95100517 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2738 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
4290d218f6
commit
aede72ef43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user