Try to fix centos build.
authorCarl Hetherington <cth@carlh.net>
Thu, 3 Sep 2015 08:59:04 +0000 (09:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 3 Sep 2015 08:59:04 +0000 (09:59 +0100)
cscript

diff --git a/cscript b/cscript
index 1bed820fecb89e16e514b498cb20e82b888b8541..1fded1bd36b6a61609ae44f25fa6a14a74fdb020 100644 (file)
--- a/cscript
+++ b/cscript
@@ -327,6 +327,8 @@ def package_centos(target, cpu, version):
 
     if cpu == "amd64":
         cpu = "x86_64"
+    else:
+        cpu = "i686"
 
     for p in glob.glob('%s/RPMS/%s/*.rpm' % (topdir, cpu)):
         rpms.append(os.path.abspath(p))