summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-08-17 00:41:39 +0100
committerCarl Hetherington <cth@carlh.net>2017-08-17 00:41:39 +0100
commit28e15a71504517b004c5ea9995cbf591e9b93da8 (patch)
treee9f93f5f64d2a2f89fef8c3ddeafca03e6386fe9 /cscript
parent2b19e767e893c3be9d4098681f5f1abce04a8c5f (diff)
Try to fix Fedora build.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 6fe9678b0..aad259438 100644
--- a/cscript
+++ b/cscript
@@ -391,7 +391,7 @@ def package_rpm(target, cpu, version):
)
make_spec('build/platform/linux/dcpomatic2.spec', version, target)
- cmd = 'rpmbuild --define \'_topdir %s\' -bb build/platform/linux/dcpomatic2.spec' % topdir
+ cmd = 'rpmbuild --define "_topdir %s" -bb build/platform/linux/dcpomatic2.spec' % topdir
if target.distro == 'centos' and target.version == '5':
cmd += ' --buildroot %s/BUILD/dcpomatic-%s/BUILDROOT' % (topdir, version)
target.command(cmd)