desktop/xfswitch-plugin: Misc automated cleanups.

Signed-off-by: David Somero <xgizzmo@slackbuilds.org>
This commit is contained in:
David Somero 2010-06-04 01:02:14 -04:00
parent 95c80d588e
commit df3a9a9a90

View file

@ -30,10 +30,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