Remove disk-build optional stuff from macOS build.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index cbbfa02a2b9305d70d55fdcb63a2030decd8bbdc..a90e5f6bdad08a4de99e0cddc44185642335b0a1 100644 (file)
--- a/cscript
+++ b/cscript
@@ -678,7 +678,7 @@ def package(target, version, options):
         target.command('bash platform/osx/make_dmg.sh %s %s universal no %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password))
         return [os.path.abspath(x) for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg')]
     elif target.platform == 'osx' and target.bits == 64:
-        target.command('bash platform/osx/make_dmg.sh %s %s thin %s %s %s' % (target.environment_prefix, target.directory, "yes" if options['disk'] else "no", target.apple_id, target.apple_password))
+        target.command('bash platform/osx/make_dmg.sh %s %s thin %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password))
         return [os.path.abspath(x) for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg')]
     elif target.platform == 'docker':
         shutil.copyfile(target.deb, 'build/platform/docker')