diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-12 10:13:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-12 10:14:13 +0300 |
commit | b328a59373a231f749bd0d17fb3bc385002a5946 (patch) | |
tree | e66b91e2a2090ed4dce976308dd4bb7e59cf69f5 /release/datafiles/blender_icons_update.py | |
parent | 1db47a2ccd1e68994bf8140eba6cc2a26a2bc91f (diff) |
Icons: support setting blender, inkscape commands
Diffstat (limited to 'release/datafiles/blender_icons_update.py')
-rwxr-xr-x | release/datafiles/blender_icons_update.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/datafiles/blender_icons_update.py b/release/datafiles/blender_icons_update.py index 68f4ef23082..3aeb6697824 100755 --- a/release/datafiles/blender_icons_update.py +++ b/release/datafiles/blender_icons_update.py @@ -11,8 +11,8 @@ def run(cmd): BASEDIR = os.path.abspath(os.path.dirname(__file__)) -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/Resources/script' |