~comcloudway/builds.sr.ht

5bb30f1804f2fcb8500eb4763129043c060d655d — Drew DeVault 5 years ago 7aba234
Fix bashisms in conditionals
1 files changed, 2 insertions(+), 2 deletions(-)

M images/control
M images/control => images/control +2 -2
@@ 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