Fix: Allow OSX builds to find blender and inkscape correctly for make icons #117464

Merged
Brecht Van Lommel merged 1 commits from Sean-Kim/blender:icons-update-darwin into main 2024-01-24 18:52:50 +01:00
1 changed files with 2 additions and 4 deletions

View File

@ -26,8 +26,8 @@ if sys.platform[:3] == "win":
env["SystemDrive"] = os.environ.get("SystemDrive", "")
env["SystemRoot"] = os.environ.get("SystemRoot", "")
inkscape_bin = "inkscape"
blender_bin = "blender"
inkscape_bin = os.environ.get("INKSCAPE_BIN", "inkscape")
blender_bin = os.environ.get("BLENDER_BIN", "blender")
if sys.platform == 'darwin':
inkscape_app_path = '/Applications/Inkscape.app/Contents/MacOS/inkscape'
@ -39,8 +39,6 @@ if sys.platform == 'darwin':
else:
blender_bin = "Blender"
inkscape_bin = os.environ.get("INKSCAPE_BIN", inkscape_bin)
blender_bin = os.environ.get("BLENDER_BIN", blender_bin)
cmd = (
inkscape_bin,