[Bf-blender-cvs] [056d86e] master: OSX/scons: Fix language menu not showing up in prefs: The languages file was not installed to locale due it has no extension, using ditto now
Jens Verwiebe
noreply at git.blender.org
Sun Feb 23 23:17:42 CET 2014
Commit: 056d86ec83c5e66c636893b3ab19032dd4876d49
Author: Jens Verwiebe
Date: Sun Feb 23 23:17:19 2014 +0100
https://developer.blender.org/rB056d86ec83c5e66c636893b3ab19032dd4876d49
OSX/scons: Fix language menu not showing up in prefs:
The languages file was not installed to locale due it has
no extension, using ditto now
===================================================================
M build_files/scons/tools/Blender.py
===================================================================
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index 9fa76c0..cc0bfa8 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -676,7 +676,7 @@ def AppIt(target=None, source=None, env=None):
commands.getoutput(cmd)
cmd = 'cp -R %s/release/datafiles/fonts %s/%s.app/Contents/MacOS/%s/datafiles/'%(bldroot,installdir,binary,VERSION)
commands.getoutput(cmd)
- cmd = 'cp -R %s/release/datafiles/locale/languages %s/%s.app/Contents/MacOS/%s/datafiles/locale/'%(bldroot, installdir, binary, VERSION)
+ cmd = 'ditto %s/release/datafiles/locale/languages %s/%s.app/Contents/MacOS/%s/datafiles/locale/'%(bldroot, installdir, binary, VERSION)
commands.getoutput(cmd)
mo_dir = os.path.join(builddir[:-4], "locale")
for f in os.listdir(mo_dir):
More information about the Bf-blender-cvs
mailing list