uname -r | grep el7 &> /dev/null el7=$(($? == 0)) arch="" [ $el7 -ne 0 ] && arch="64" [ -f /etc/gentoo-release ] && arch="64" ods_path=/mnt/ands/ods/bin-fedora/ vma_path=/mnt/ands/ vma_lib_path=/mnt/ands/lib64-fedora/ [ $el7 -eq 1 ] && ods_path="${ods_path/fedora/centos}" [ $el7 -eq 1 ] && vma_lib_path="${vma_lib_path/fedora/centos}" # Standard library #vma_lib=${vma_lib_path}/libvma.so.8.6.10 vma_lib=${vma_lib_path}/libvma.so.8.9.5 # With Mellanox OFED extensions (./configure --enable-socketxtreme) #vma_lib=${vma_lib_path}/mlx/libvma.so.8.6.10