Try to fix mageia build.
authorCarl Hetherington <cth@carlh.net>
Mon, 9 Oct 2017 22:41:54 +0000 (23:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 9 Oct 2017 22:41:54 +0000 (23:41 +0100)
cscript

diff --git a/cscript b/cscript
index edeaf00cecfc215a560ef11f02240aa0cfa97541..519e0d8069634d30b6309f2adfb4a8f916dbc6f7 100644 (file)
--- a/cscript
+++ b/cscript
@@ -416,7 +416,7 @@ def package(target, version):
 
         if target.distro == 'debian' or target.distro == 'ubuntu':
             return package_debian(target, cpu, version)
-        elif target.distro == 'centos' or target.distro == 'fedora':
+        elif target.distro == 'centos' or target.distro == 'fedora' or target.distro == 'mageia':
             return package_rpm(target, cpu, version)
     elif target.platform == 'osx':
         target.command('bash platform/osx/make_dmg.sh %s' % target.directory)