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:
authorXiao Xiangquan <xiaoxiangquan@gmail.com>2011-07-28 17:32:27 +0400
committerXiao Xiangquan <xiaoxiangquan@gmail.com>2011-07-28 17:32:27 +0400
commit575b7c0bd30704efd9e8ca4f06a45326f75270e5 (patch)
treeeab109ad42b140a846452f55a494589ca20e42f1 /SConstruct
parentd85d98d4f9076a1047b8c7d9848af5245e912822 (diff)
update make install rule for scons to support i18n
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 29146018704..f0253f739ae 100644
--- a/SConstruct
+++ b/SConstruct
@@ -472,12 +472,12 @@ if env['OURPLATFORM']!='darwin':
if 'locale' 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)[2:])) # skip bin/.blender
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)[2:])) # skip bin/.blender
dottargetlist.append(dir + os.sep + f)
dotblenderinstall = []