diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2011-10-15 18:13:49 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2011-10-15 18:13:49 +0400 |
commit | 8dce8e0c1747c958713577eadb3a94682a4fa95a (patch) | |
tree | d1a26a307c65072a4e66cd287b03d60483710cc3 /build_files | |
parent | 08f8fbbd30cc9e35eae7b064c38fb9ce0c779a8d (diff) |
OSX: make sure the set_simulation_threads script is always renewed
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/scons/tools/Blender.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index f54ab102415..147316c204a 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -592,7 +592,9 @@ def AppIt(target=None, source=None, env=None): commands.getoutput(cmd) cmd = 'install_name_tool -change %s/lib/libgcc_s.1.dylib @executable_path/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/%s'%(instname, installdir, binary, binary) commands.getoutput(cmd) - cmd = 'cp -R %s/source/darwin/set_simulation_threads.app %s/'%(bldroot, installdir) # the omp_num_threads applescript + cmd = 'rm -rf %s/set_simulation_threads.app'%(installdir) # first clear omp_num_threads applescript + commands.getoutput(cmd) + cmd = 'cp -R %s/source/darwin/set_simulation_threads.app %s/'%(bldroot, installdir) # copy the omp_num_threads applescript commands.getoutput(cmd) # extract copy system python, be sure to update other build systems |