autoport: fix after uname change: use uname -m instead of uname -i
This commit is contained in:
parent
8fda5d4d82
commit
d4241631f2
2
autoport
2
autoport
@ -266,7 +266,7 @@ fetch_repfiles() {
|
|||||||
|
|
||||||
[ $# -gt 0 ] || { usage ; exit 1; }
|
[ $# -gt 0 ] || { usage ; exit 1; }
|
||||||
|
|
||||||
BUILD_ARCH=`uname -i`
|
BUILD_ARCH=`uname -m`
|
||||||
|
|
||||||
case $BUILD_ARCH in
|
case $BUILD_ARCH in
|
||||||
i386|i486|i686) BUILD_ARCH=i586; BASE_ARCH=x86_64 ;;
|
i386|i486|i686) BUILD_ARCH=i586; BASE_ARCH=x86_64 ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user