diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index b5075aa4345..cd4e31efeff 100644 --- a/SConstruct +++ b/SConstruct @@ -70,6 +70,7 @@ BlenderEnvironment = Blender.BlenderEnvironment B = Blender VERSION = btools.VERSION # This is used in creating the local config directories +VERSION_RELEASE_CYCLE = btools.VERSION_RELEASE_CYCLE ### globals ### platform = sys.platform @@ -524,6 +525,10 @@ if env['OURPLATFORM']!='darwin': if '__pycache__' in dn: # py3.2 cache dir dn.remove('__pycache__') + # only for testing builds + if VERSION_RELEASE_CYCLE == "release" and "addons_contrib" in dn: + dn.remove('addons_contrib') + dir = os.path.join(env['BF_INSTALLDIR'], VERSION) dir += os.sep + os.path.basename(scriptpath) + dp[len(scriptpath):] |