merge fixes from ioquake3.sh

This commit is contained in:
Ludwig Nussel 2006-03-05 19:11:19 +00:00
parent aed3c9c667
commit 65c1d9a7a5

View file

@ -36,9 +36,15 @@ else
fi fi
export LD_LIBRARY_PATH export LD_LIBRARY_PATH
arch=`uname -m` archs=`uname -m`
case "$arch" in case "$archs" in
i?86) arch=i386 ;; i?86) archs=i386 ;;
x86_64) archs="x86_64 i386" ;;
ppc64) archs="ppc64 ppc" ;;
esac esac
exec ./ioquake3.$arch +set sv_pure 0 +set vm_cgame 0 +set vm_game 0 +set vm_ui 0 +set fs_game demoq3 "$@" for arch in $archs; do
test -x ./ioquake3.$arch || continue
exec ./ioquake3.$arch +set sv_pure 0 +set vm_cgame 0 +set vm_game 0 +set vm_ui 0 +set fs_game demoq3 "$@"
done
echo "could not execute ioquake3" >&2