system/xtrs: Misc automated cleanups.

Signed-off-by: David Somero <xgizzmo@slackbuilds.org>
This commit is contained in:
David Somero 2010-06-04 01:17:16 -04:00
parent f6a1178f06
commit 2f898172f1

View file

@ -13,10 +13,10 @@ TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
*) ARCH=$( uname -m ) ;;
esac
fi