Revision: 41031
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41031
Author:   jensverwiebe
Date:     2011-10-15 14:13:49 +0000 (Sat, 15 Oct 2011)
Log Message:
-----------
OSX: make sure the set_simulation_threads script is always renewed

Modified Paths:
--------------
    trunk/blender/build_files/scons/tools/Blender.py

Modified: trunk/blender/build_files/scons/tools/Blender.py
===================================================================
--- trunk/blender/build_files/scons/tools/Blender.py    2011-10-15 14:04:33 UTC 
(rev 41030)
+++ trunk/blender/build_files/scons/tools/Blender.py    2011-10-15 14:13:49 UTC 
(rev 41031)
@@ -592,8 +592,10 @@
         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
 # when making changes to the files that are copied.

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to