Try to fix Fedora build.
authorCarl Hetherington <cth@carlh.net>
Wed, 16 Aug 2017 23:41:39 +0000 (00:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 16 Aug 2017 23:41:39 +0000 (00:41 +0100)
cscript

diff --git a/cscript b/cscript
index 6fe9678b0f295cf068292f046bd732248aacaaa6..aad259438b523d15aebdd262aa3f68d53f174a42 100644 (file)
--- 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)