[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25376] trunk/blender/SConstruct: Fix plugins source install for real.

Martin Poirier theeth at yahoo.com
Mon Dec 14 19:13:20 CET 2009


Revision: 25376
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25376
Author:   theeth
Date:     2009-12-14 19:13:18 +0100 (Mon, 14 Dec 2009)

Log Message:
-----------
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, ...).

Modified Paths:
--------------
    trunk/blender/SConstruct

Modified: trunk/blender/SConstruct
===================================================================
--- trunk/blender/SConstruct	2009-12-14 17:40:12 UTC (rev 25375)
+++ trunk/blender/SConstruct	2009-12-14 18:13:18 UTC (rev 25376)
@@ -533,9 +533,10 @@
 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





More information about the Bf-blender-cvs mailing list