Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2009-12-14 21:13:18 +0300
committerMartin Poirier <theeth@yahoo.com>2009-12-14 21:13:18 +0300
commit77c539458ad41799d07e0e8af207df2db5584c12 (patch)
treef43a62b7e261375505865bc52bb999ec028d3c92 /SConstruct
parent2c977b83b34e9517e51afc6bcac40dce7e26612d (diff)
Fix plugins source install for real.
Previous fix created a double /plugins/plugins tree. This should work on all platform (no longer using split when it shouldn't, not creating lists for nothing, ...).
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a5ae5f47c6d..8a026a0c083 100644
--- a/SConstruct
+++ b/SConstruct
@@ -533,9 +533,10 @@ plugtargetlist = []
for tp, tn, tf in os.walk('release/plugins'):
if '.svn' in tn:
tn.remove('.svn')
+ df = tp[8:] # remove 'release/'
for f in tf:
pluglist.append(os.path.join(tp, f))
- plugtargetlist.append( os.path.join(*([BLENDERPATH, 'plugins'] + tp.split(os.sep)[1:] + [f])) )
+ plugtargetlist.append( os.path.join(BLENDERPATH, df, f) )
# header files for plugins