diff --git a/extract_assets.py b/extract_assets.py index bde5ef21..d1afe3da 100755 --- a/extract_assets.py +++ b/extract_assets.py @@ -3,6 +3,8 @@ import sys import os import json +#respect make setting PYTHON to use, instead of assuming linux convention +PYTHON_BIN=os.getenv('PYTHON') def read_asset_map(): with open("assets.json") as f: @@ -170,7 +172,7 @@ def main(): if mio0 == "@sound": rom = roms[lang] args = [ - "python3", + PYTHON_BIN, "tools/disassemble_sound.py", "baserom." + lang + ".z64", ]