From 5bb30f1804f2fcb8500eb4763129043c060d655d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 22 Feb 2019 11:00:05 -0500 Subject: [PATCH] Fix bashisms in conditionals --- images/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/control b/images/control index 8f290b4..f5e9904 100755 --- a/images/control +++ b/images/control @@ -19,7 +19,7 @@ guest_ssh() { } cpu_opts() { - if [ "$(uname -m)" == "$1" ] && [ -e /dev/kvm ] + if [ "$(uname -m)" = "$1" ] && [ -e /dev/kvm ] then printf "%s" "-cpu host -enable-kvm" return @@ -82,7 +82,7 @@ cmd_boot() { arch=$1 shift - if [ "$arch" == "default" ] + if [ "$arch" = "default" ] then arch="$default_arch" fi -- 2.38.5