diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-06-02 16:19:56 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-06-02 16:20:07 +0400 |
commit | c590b2a4b388c55b54b70a367b4e961ad36f8ef7 (patch) | |
tree | 8080e52a4014c8f46cbc7f43324eb628ab90f2ba /build_files | |
parent | 4b2c8261782b62199235dd80fb4690e2721f3ed9 (diff) |
OSX: Set Blender.app and Blenderplayer.app creation and modification date to compiletime, else we would always have the time from checkout here
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/scons/tools/Blender.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index 496f90d0bea..621a85a2d91 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -768,6 +768,8 @@ def AppIt(target=None, source=None, env=None): commands.getoutput(cmd) cmd = 'find %s/%s.app -name __MACOSX -exec rm -rf {} \;'%(installdir, binary) commands.getoutput(cmd) + cmd = 'SetFile -d "%s)" -m "%s)" %s/%s.app'%(time.strftime("%m/%d/%Y %H:%M"),time.strftime("%m/%d/%Y %H:%M"),installdir,binary) # give the bundles actual creation/modification date + commands.getoutput(cmd) if env['WITH_BF_OPENMP']: if env['C_COMPILER_ID'] == 'gcc' and env['CCVERSION'] >= '4.6.1': # for correct errorhandling with gcc >= 4.6.1 we need the gcc.dylib and gomp.dylib to link, thus distribute in app-bundle print "Bundling libgcc and libgomp" |