Use uname -m
to detect platform
`uname -i` functionality is non-portable and the custom patch Fedora was
carrying around was recently dropped:
cd953e11dd
The [rhbz#548834](https://bugzilla.redhat.com/show_bug.cgi?id=548834#c5)
suggests to use `uname -m` instead.
Resolves: rhbz#2158752
This commit is contained in:
parent
0e8d2622f0
commit
e2c66c6d03
@ -1,6 +1,6 @@
|
|||||||
progname=$(basename "$0")
|
progname=$(basename "$0")
|
||||||
opt_verbose=:
|
opt_verbose=:
|
||||||
opt_arch=$(uname -i)
|
opt_arch=$(uname -m)
|
||||||
|
|
||||||
multilib_arches="
|
multilib_arches="
|
||||||
i386 x86_64
|
i386 x86_64
|
||||||
|
Loading…
Reference in New Issue
Block a user