summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-10-29 21:58:17 +0100
committerCarl Hetherington <cth@carlh.net>2019-10-29 21:58:17 +0100
commit179830dcb881b99e7f1a5b9527f7889602ee548e (patch)
tree83eb2eac477971cfd1b5b762098ca48574ac7d4c /cscript
parentba04eca99ebe17f139b2bcf3d9997c57dfeaeeb2 (diff)
Attempt to fix total breakage of OS X build.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 44e79f89a..3781725e4 100644
--- a/cscript
+++ b/cscript
@@ -641,7 +641,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':
- target.command('bash platform/osx/make_dmg.sh %s' % target.directory)
+ target.command('bash platform/osx/make_dmg.sh %s %s' % (target.environment_prefix, target.directory))
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')