diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-10-20 23:38:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-10-20 23:38:57 +0200 |
| commit | 749c7b0098feb893c2a11012eb889fda0043666d (patch) | |
| tree | 2c2960533e17cf3fded908424d67d07749d640aa /cscript | |
| parent | 6dc179f7d08477ecc7bac1257b47dda048a1b878 (diff) | |
Remove hard-coded environment location in OS X build.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -640,10 +640,10 @@ 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' and target.bits is None: - target.command('bash platform/osx/make_dmg.sh %s universal' % target.directory) + target.command('bash platform/osx/make_dmg.sh %s %s universal' % (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 == 'osx' and target.bits == 64: - target.command('bash platform/osx/make_dmg.sh %s thin' % target.directory) + target.command('bash platform/osx/make_dmg.sh %s %s thin' % (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') |
