development/patchutils: Misc automated cleanups.

Signed-off-by: David Somero <xgizzmo@slackbuilds.org>
This commit is contained in:
David Somero 2010-06-04 01:03:16 -04:00
parent 8a6294150b
commit ce056b7419

View file

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