X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=6072dc1cd1afc94c3cb7c85e236b4397540ac9f5;hb=c432ef98c4cf3b2bda32734983eec3b42b8c3d1e;hp=cc441ba0b57b24a307c201a268d187279e9bee09;hpb=48f5b7ecaca25b99afdb78ca0ccd28c27db8243f;p=dcpomatic.git diff --git a/cscript b/cscript index cc441ba0b..6072dc1cd 100644 --- a/cscript +++ b/cscript @@ -703,7 +703,8 @@ def package(target, version, options): elif target.distro == 'centos' or target.distro == 'fedora' or target.distro == 'mageia': return package_rpm(target, cpu, version, options) elif target.platform == 'osx': - target.command('bash platform/osx/make_dmg.sh %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password)) + archs = ' '.join(f'{t.arch}/{t.deployment}' for t in target.sub_targets) + target.command('bash platform/osx/make_dmg.sh %s %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password, archs)) packages = [] for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg'): a = os.path.abspath(x)