From b7cc09acdd7ad8a6d400f7f274e5459105f3297d Mon Sep 17 00:00:00 2001 From: Vlad Bogolin Date: Wed, 25 Oct 2023 14:32:27 +0100 Subject: [PATCH] Fix check to identify Ubuntu 2004 The check now uses the os_i variable and not the os module --- master-galera/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master-galera/master.cfg b/master-galera/master.cfg index 8cc937cc..b302c7dc 100644 --- a/master-galera/master.cfg +++ b/master-galera/master.cfg @@ -389,7 +389,7 @@ for os_i in os_info: factory = f_deb_build env = {} - if os == "ubuntu-2004": + if os_i == "ubuntu-2004": print("using gcc/++-10") env = {"CC": "gcc-10", "CXX": "g++10"}