From 8dce8e0c1747c958713577eadb3a94682a4fa95a Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sat, 15 Oct 2011 14:13:49 +0000 Subject: OSX: make sure the set_simulation_threads script is always renewed --- build_files/scons/tools/Blender.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build_files/scons') 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 -- cgit v1.2.3