Index: make-macosx-ub.sh =================================================================== --- make-macosx-ub.sh (revision 1390) +++ make-macosx-ub.sh (working copy) @@ -7,8 +7,7 @@ DESTDIR=build/release-darwin-ub BASEDIR=baseq3 MPACKDIR=missionpack -Q3_VERSION=`grep "\#define Q3_VERSION" code/qcommon/q_shared.h | \ - sed -e 's/.*".* \([^ ]*\)"/\1/'`; +Q3_VERSION=`grep '^VERSION=' Makefile | sed -e 's/.*=\(.*\)/\1/'` BIN_OBJ=" build/release-darwin-ppc/ioquake3-smp.ppc @@ -38,10 +37,7 @@ echo "This script must be run from the ioquake3 build directory"; fi -TIGERHOST=0 -if uname -r | grep ^8. > /dev/null; then - TIGERHOST=1 -fi +TIGERHOST=`uname -r | grep ^8.` # we want to use the oldest available SDK for max compatiblity unset PPC_CLIENT_SDK @@ -190,7 +186,7 @@ cp $ICNS $DESTDIR/$APPBUNDLE/Contents/Resources/ioquake3.icns || exit 1; echo $PKGINFO > $DESTDIR/$APPBUNDLE/Contents/PkgInfo echo " - +