projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28becd1
)
Fix host bit width detection.
author
Carl Hetherington
<cth@carlh.net>
Wed, 30 Sep 2015 13:47:01 +0000
(14:47 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 30 Sep 2015 13:47:01 +0000
(14:47 +0100)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index a4cbd8ee03b65ccd763496a5b5244ba9d09f94e8..cb02a2797967a470669163706fbbf3739a64e8bc 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-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