diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-30 14:47:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-30 14:47:01 +0100 |
| commit | 05e8f8ae9bc9764e9d1510ae4d3a0d87e9b28e12 (patch) | |
| tree | bd56efdb0da5a7ce3dd1564546edebdc8ef901df | |
| parent | 28becd1f549b3dcc1a5c1392954dcb360de51f45 (diff) | |
Fix host bit width detection.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ def target_factory(s, debug, work): try: f = open('/etc/fedora-release', 'r') l = f.readline().strip().split() - if command_and_read('uname -m') == 'x86_64': + if command_and_read('uname -m').read().strip() == 'x86_64': bits = 64 else: bits = 32 |
