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
This commit is contained in:
jens verwiebe 2014-02-23 23:17:19 +01:00
parent 411650f2fa
commit 056d86ec83
Notes: blender-bot 2023-02-14 11:08:33 +01:00
Referenced by issue #38794, Glitches in compositor caused by translate node
1 changed files with 1 additions and 1 deletions

View File

@ -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):