Skip to content

Commit 6d5041a

Browse files
committed
Remove 5 unused variables from make-macosx scripts
1 parent 81909bb commit 6d5041a

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

make-macosx-ub.sh

-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
#!/bin/bash
22
CC=gcc-4.0
3-
BINARY=ioquake3.ub
43

54
cd `dirname $0`
65
if [ ! -f Makefile ]; then
76
echo "This script must be run from the ioquake3 build directory"
87
exit 1
98
fi
109

11-
Q3_VERSION=`grep '^VERSION=' Makefile | sed -e 's/.*=\(.*\)/\1/'`
12-
13-
# We only care if we're >= 10.4, not if we're specifically Tiger.
14-
# "8" is the Darwin major kernel version.
15-
TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`
16-
1710
# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
1811
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
1912
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent

make-macosx.sh

-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ if [ ! -f Makefile ]; then
3838
exit 1
3939
fi
4040

41-
Q3_VERSION=`grep '^VERSION=' Makefile | sed -e 's/.*=\(.*\)/\1/'`
42-
43-
# We only care if we're >= 10.4, not if we're specifically Tiger.
44-
# "8" is the Darwin major kernel version.
45-
TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`
46-
4741
# we want to use the oldest available SDK for max compatiblity. However 10.4 and older
4842
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested
4943
# with xcode 3.1 (xcode31_2199_developerdvd.dmg). It contains the 10.5 SDK and a decent

0 commit comments

Comments
 (0)