Skip to content

Commit

Permalink
mk_unix_dist.py: Fix --nopython
Browse files Browse the repository at this point in the history
Writing to the global PYTHON_ENABLED requires that it be flagged
as a global.
  • Loading branch information
waywardmonkeys authored and NikolajBjorner committed Aug 4, 2022
1 parent dc75031 commit ad4c786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mk_unix_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ad4c786

Please sign in to comment.