From ad4c786ea4c3b75409d6ce63be50d9d5d6713e84 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 4 Aug 2022 09:31:14 +0700 Subject: [PATCH] mk_unix_dist.py: Fix --nopython Writing to the global PYTHON_ENABLED requires that it be flagged as a global. --- scripts/mk_unix_dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mk_unix_dist.py b/scripts/mk_unix_dist.py index d152b3625..3b1e71391 100644 --- a/scripts/mk_unix_dist.py +++ b/scripts/mk_unix_dist.py @@ -66,7 +66,7 @@ def display_help(): # Parse configuration option for mk_make script def parse_options(): - global FORCE_MK, JAVA_ENABLED, GIT_HASH, DOTNET_CORE_ENABLED, DOTNET_KEY_FILE, OS_NAME + global FORCE_MK, JAVA_ENABLED, GIT_HASH, DOTNET_CORE_ENABLED, DOTNET_KEY_FILE, PYTHON_ENABLED, OS_NAME path = BUILD_DIR options, remainder = getopt.gnu_getopt(sys.argv[1:], 'b:hsf', ['build=', 'help',