From: Dan Radez Date: Wed, 5 Jul 2017 19:36:17 +0000 (-0400) Subject: Missing brackets on x86_64 conditional X-Git-Tag: opnfv-5.0.0~122 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=89bffdb811f8ca932ff13ed92f5f3b64f1b66277;p=apex.git Missing brackets on x86_64 conditional Change-Id: I5436317075ceffa18c34e213795ed3816627d121 Signed-off-by: Dan Radez --- diff --git a/lib/configure-deps-functions.sh b/lib/configure-deps-functions.sh index 3d0e3ac7..4c00fbf3 100755 --- a/lib/configure-deps-functions.sh +++ b/lib/configure-deps-functions.sh @@ -130,7 +130,7 @@ EOF virsh pool-list | grep -Eo "default\s+active" > /dev/null || (virsh pool-autostart default; virsh pool-start default) # Virt flag check is Arch dependent on x86 - if "$(uname -i)" == 'x86_64'; then + if [ "$(uname -i)" == 'x86_64' ]; then if ! egrep '^flags.*(vmx|svm)' /proc/cpuinfo > /dev/null; then echo "${red}virtualization extensions not found, kvm kernel module insertion may fail.\n \ Are you sure you have enabled vmx in your bios or hypervisor?${reset}"