diff options
-rw-r--r-- | build_files/scons/tools/Blender.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index 71a4af1dc36..4f447ce6240 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -34,6 +34,7 @@ import bcolors bc = bcolors.bcolors() import btools VERSION = btools.VERSION +VERSION_RELEASE_CYCLE = btools.VERSION_RELEASE_CYCLE Split = SCons.Util.Split Action = SCons.Action.Action @@ -584,6 +585,10 @@ def AppIt(target=None, source=None, env=None): cmd = 'cp -R %s/release/scripts %s/%s.app/Contents/MacOS/%s/'%(bldroot,installdir,binary,VERSION) commands.getoutput(cmd) + if VERSION_RELEASE_CYCLE == "release": + cmd = 'rm -rf %s/%s.app/Contents/MacOS/%s/scripts/addons_contrib'%(installdir,binary,VERSION) + commands.getoutput(cmd) + if env['WITH_BF_CYCLES']: croot = '%s/intern/cycles' % (bldroot) cinstalldir = '%s/%s.app/Contents/MacOS/%s/scripts/addons/cycles' % (installdir,binary,VERSION) |