autoport: fix after uname change: use uname -m instead of uname -i

This commit is contained in:
Silvan Calarco 2020-11-25 19:18:02 +01:00
parent 8fda5d4d82
commit d4241631f2

View File

@ -266,7 +266,7 @@ fetch_repfiles() {
[ $# -gt 0 ] || { usage ; exit 1; }
BUILD_ARCH=`uname -i`
BUILD_ARCH=`uname -m`
case $BUILD_ARCH in
i386|i486|i686) BUILD_ARCH=i586; BASE_ARCH=x86_64 ;;