Change "uname -i" to "uname -m" to be portable
According to the documentation for uname:
-m, --machine
print the machine hardware name
-i, --hardware-platform
print the hardware platform (non-portable)
So use the portable -m version.
This commit is contained in:
Reference in New Issue
Block a user