OK I see. How about the attached patch? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
>From 5efe9f7a58cd0cdc6f4c279c7f0a69e57fbda56f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" <rjones@xxxxxxxxxx> Date: Tue, 28 Aug 2018 18:32:41 +0100 Subject: [PATCH] Replace == with = since the former is a bash-ism. Thanks: Eric Blake. Fixes commit d7fd8a7843030d2b1719353edfcd49dba3000122. --- virt-what.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt-what.in b/virt-what.in index d037a99..a2f8f19 100644 --- a/virt-what.in +++ b/virt-what.in @@ -42,7 +42,7 @@ use_sysctl() { # Lacking /proc, on some systems sysctl can be used instead. OS=$(uname) || fail "failed to get operating system name" - [ "$OS" == "OpenBSD" ] + [ "$OS" = "OpenBSD" ] } fail () { -- 2.18.0
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list