diff options
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -689,15 +689,7 @@ 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': - name = '' - if hasattr(target, 'archs') and sorted(target.archs) == sorted(('arm64', 'x86_64')): - name = 'arm-intel' - elif hasattr(target, 'arch'): - if target.arch == 'x86_64': - name = 'intel' - elif target.arch == 'arm64': - name = 'arm' - target.command('bash platform/osx/make_dmg.sh %s %s %s %s %s %s' % (target.environment_prefix, target.directory, name, target.sdk, target.apple_id, target.apple_password)) + target.command('bash platform/osx/make_dmg.sh %s %s %s %s %s %s' % (target.environment_prefix, target.directory, target.intel_sdk, target.arm_sdk, target.apple_id, target.apple_password)) packages = [] for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg'): a = os.path.abspath(x) |
