===scons===

Bugfix #4088: Fix scons so that it installs subdirectories of release/scripts
into .blender/scripts.
This commit is contained in:
Ken Hughes
2006-05-15 16:56:32 +00:00
parent 51eb744807
commit 92e954e07a

View File

@@ -280,8 +280,14 @@ for targetdir,srcfile in zip(dottargetlist, dotblendlist):
dotblenderinstall.append(env.Install(dir=td, source=srcfile))
#-- .blender/scripts
scriptlist = glob.glob('release/scripts/*.py')
scriptinstall = env.Install(dir=env['BF_INSTALLDIR']+'/.blender/scripts', source=scriptlist)
scriptinstall = []
scriptpath='release/scripts'
for dp, dn, df in os.walk(scriptpath):
if 'CVS' in dn:
dn.remove('CVS')
dir=env['BF_INSTALLDIR']+'/.blender/scripts'+dp[len(scriptpath):]
source=[dp+os.sep+f for f in df]
scriptinstall.append(env.Install(dir=dir,source=source))
#-- plugins
pluglist = []