Skip to content

Commit

Permalink
Remove 5 unused variables from make-macosx scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman authored and timangus committed Jun 17, 2014
1 parent a093ad0 commit f3770e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions make-macosx-ub.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
#!/bin/bash
CC=gcc-4.0
BINARY=tremulous.ub

cd `dirname $0`
if [ ! -f Makefile ]; then
echo "This script must be run from the Tremulous build directory";
exit 1
fi

Q3_VERSION=`grep '^VERSION=' Makefile | sed -e 's/.*=\(.*\)/\1/'`

# We only care if we're >= 10.4, not if we're specifically Tiger.
# "8" is the Darwin major kernel version.
TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`

# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent
Expand Down
6 changes: 0 additions & 6 deletions make-macosx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ if [ ! -f Makefile ]; then
exit 1
fi

Q3_VERSION=`grep '^VERSION=' Makefile | sed -e 's/.*=\(.*\)/\1/'`

# We only care if we're >= 10.4, not if we're specifically Tiger.
# "8" is the Darwin major kernel version.
TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`

# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent
Expand Down

0 comments on commit f3770e9

Please sign in to comment.