aboutsummaryrefslogtreecommitdiffstats
path: root/make-macosx-ub.sh
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-05 23:50:38 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-05 23:50:38 +0000
commit37d631212417d0e40f71fcad2c2a1df907165aa0 (patch)
tree294e302c0f6878125981ddd569608339548fc63b /make-macosx-ub.sh
parent30a59a88ffc64710e1974fb3c93461a6f40a10e7 (diff)
downloadioquake3-aero-37d631212417d0e40f71fcad2c2a1df907165aa0.tar.gz
ioquake3-aero-37d631212417d0e40f71fcad2c2a1df907165aa0.zip
* (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend
<TylerSchwend@gmail.com>) * (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>) * (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>) * (bug 3669) Some files left out of Solaris Packages (Vincent Cojot <vincent@cojot.name>) * (bug 3680) server quit messages (Ben Millwood) * (bug 3682) Maps with >1024 models cause a segfault (misantropia <bnoordhuis@gmail.com>) * (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers (misantropia <bnoordhuis@gmail.com>) * (bug 3688) q3asm potential segfault fix and other changes (TsT <tst2006@gmail.com>) * (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT <tst2006@gmail.com>) * (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not working (Matthias <Kapffer@macbay.de>) * (bug 3698) #error reported as warning in q3cpp (and no #warning support) (Ben Millwood) * (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller <devhc97@gmail.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1405 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'make-macosx-ub.sh')
-rwxr-xr-xmake-macosx-ub.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh
index 77d17cc..d05566e 100755
--- a/make-macosx-ub.sh
+++ b/make-macosx-ub.sh
@@ -7,8 +7,7 @@ ICNS=misc/quake3.icns
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 @@ if [ ! -f Makefile ]; then
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 @@ fi
cp $ICNS $DESTDIR/$APPBUNDLE/Contents/Resources/ioquake3.icns || exit 1;
echo $PKGINFO > $DESTDIR/$APPBUNDLE/Contents/PkgInfo
echo "
- <?xml version=\"1.0\" encoding="UTF-8"?>
+ <?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE plist
PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\"
\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">