get the arch string - i.e. x86_64 or i386 - using arch, as uname -i now returns ...
[build.git] / build.common
index e34434c..9d59dcb 100644 (file)
@@ -108,7 +108,7 @@ pl_DISTRO=$(pl_getDistro)
 
 # select basearch of the host devel environment - protected for macos for local tests
 # try arch for testing stuff on a mac
-pl_DISTRO_ARCH=$(uname -i 2>/dev/null || arch 2> /dev/null || echo unknownarch)
+pl_DISTRO_ARCH=$(arch 2> /dev/null || echo unknownarch)
 
 # the release number (plain number)
 pl_DISTRO_RELEASE=$(pl_getRelease)