Skip to content
Snippets Groups Projects
Commit 42fa2ba0 authored by Nathan Letwory's avatar Nathan Letwory
Browse files

=== SCons ===

Patch provided by Emmanuel Turquin: copy a proper bundle
 on OSX. I take it he has tested
 this on OSX :) Other OSX-ers, please do verify :) (/me hugs his Windows)
parent 1e71afc4
Branches
Tags
No related merge requests found
...@@ -506,6 +506,19 @@ if env['WITH_BF_PLAYER']: ...@@ -506,6 +506,19 @@ if env['WITH_BF_PLAYER']:
#------------ INSTALL #------------ INSTALL
#-- binaries
blenderinstall = []
if env['OURPLATFORM']=='darwin':
for prg in B.program_list:
bundle = '%s.app' % prg[0]
bundledir = os.path.dirname(bundle)
for dp, dn, df in os.walk(bundle):
if 'CVS' in dn:
dn.remove('CVS')
dir=env['BF_INSTALLDIR']+dp[len(bundledir):]
source=[dp+os.sep+f for f in df]
blenderinstall.append(env.Install(dir=dir,source=source))
else:
blenderinstall = env.Install(dir=env['BF_INSTALLDIR'], source=B.program_list) blenderinstall = env.Install(dir=env['BF_INSTALLDIR'], source=B.program_list)
#-- .blender #-- .blender
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment