diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-01 23:58:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-01 23:58:17 +0100 |
| commit | fc39cebbc4d20238a4b751724ea32105bdd61286 (patch) | |
| tree | 29047c9d999e8d0fa35fc4551467a0533e791738 /cscript | |
| parent | b084aef4443929e14acf690f7c9e2378b80fb43f (diff) | |
Try to fix Centos 5 32-bit build.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -337,7 +337,10 @@ def package_rpm(target, cpu, version): if cpu == "amd64": cpu = "x86_64" else: - cpu = "i686" + if target.distro == 'centos' and target.version == '5': + cpu = "i386" + else: + cpu = "i686" print('Looking in %s/RPMS/%s/*.rpm' % (topdir, cpu)) for p in glob.glob('%s/RPMS/%s/*.rpm' % (topdir, cpu)): |
