diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-02-24 15:09:46 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-02-24 15:09:55 +0400 |
commit | 9e924c8ffed40ff1419f3321c87da725023d4708 (patch) | |
tree | b9ea913d03ed9b9aa96b6c2578ae92ea1401264a /build_files/scons/tools/Blender.py | |
parent | d59f53f7b7dac5eff66fcf182f2cdc7dfabd6f87 (diff) |
OSX/scons: cp needs the targetdir to be created ( ditto does it itself ),
changing the order of commands let us use cp again
Diffstat (limited to 'build_files/scons/tools/Blender.py')
-rw-r--r-- | build_files/scons/tools/Blender.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index cc0bfa804b3..cc60b88b035 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -676,12 +676,12 @@ 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 = '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): cmd = 'ditto %s/%s %s/%s.app/Contents/MacOS/%s/datafiles/locale/%s/LC_MESSAGES/blender.mo'%(mo_dir, f, installdir, binary, VERSION, f[:-3]) commands.getoutput(cmd) + cmd = 'cp %s/release/datafiles/locale/languages %s/%s.app/Contents/MacOS/%s/datafiles/locale/'%(bldroot, installdir, binary, VERSION) + commands.getoutput(cmd) if env['WITH_BF_OCIO']: cmd = 'cp -R %s/release/datafiles/colormanagement %s/%s.app/Contents/MacOS/%s/datafiles/'%(bldroot,installdir,binary,VERSION) |