#!/bin/bash ARCH=$(uname -m) case $ARCH in x86_64 | ppc64 | ia64 | s390x ) BITS=64;; * ) BITS=32;; esac exec $0-${BITS} "$@"