[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40348] branches/soc-2011-garlic/ SConstruct: i18n: fixes for scons datafiles installation pathes

Sergey Sharybin g.ulairi at gmail.com
Mon Sep 19 13:45:44 CEST 2011


Revision: 40348
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40348
Author:   nazgul
Date:     2011-09-19 11:45:44 +0000 (Mon, 19 Sep 2011)
Log Message:
-----------
i18n: fixes for scons datafiles installation pathes

Modified Paths:
--------------
    branches/soc-2011-garlic/SConstruct

Modified: branches/soc-2011-garlic/SConstruct
===================================================================
--- branches/soc-2011-garlic/SConstruct	2011-09-19 11:40:15 UTC (rev 40347)
+++ branches/soc-2011-garlic/SConstruct	2011-09-19 11:45:44 UTC (rev 40348)
@@ -531,12 +531,12 @@
                 
                 if 'locale' in dp or 'fonts' in dp:
                     datafileslist.append(os.path.join(dp,f))
-                    dir= os.path.join(*([env['BF_INSTALLDIR']] + [VERSION] + ['datafiles'] + dp.split(os.sep)[1:]))    # skip bin
+                    dir= os.path.join(*([env['BF_INSTALLDIR']] + [VERSION] + ['datafiles'] + dp.split(os.sep)[3:]))    # skip bin
                     datafilestargetlist.append(dir + os.sep + f)
 
                 else:
                     dotblendlist.append(os.path.join(dp, f))
-                    dir= os.path.join(*([env['BF_INSTALLDIR']] + [VERSION] + ['config'] + dp.split(os.sep)[1:]))    # skip bin
+                    dir= os.path.join(*([env['BF_INSTALLDIR']] + [VERSION] + ['config'] + dp.split(os.sep)[3:]))    # skip bin
                     dottargetlist.append(dir + os.sep + f)
                     
         dotblenderinstall = []




More information about the Bf-blender-cvs mailing list