From 6d5041a96041e216c09637b2c92e74f8c358c339 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sun, 4 Aug 2013 12:04:56 -0500 Subject: [PATCH] Remove 5 unused variables from make-macosx scripts --- make-macosx-ub.sh | 7 ------- make-macosx.sh | 6 ------ 2 files changed, 13 deletions(-) diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh index 5f73fe36..bd7c9b91 100755 --- a/make-macosx-ub.sh +++ b/make-macosx-ub.sh @@ -1,6 +1,5 @@ #!/bin/bash CC=gcc-4.0 -BINARY=ioquake3.ub cd `dirname $0` if [ ! -f Makefile ]; then @@ -8,12 +7,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 diff --git a/make-macosx.sh b/make-macosx.sh index 6dd5df17..035b3998 100755 --- a/make-macosx.sh +++ b/make-macosx.sh @@ -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