summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-06-09 07:59:50 -0400
committerOz Linden <oz@lindenlab.com>2016-06-09 07:59:50 -0400
commit1671de36a0172b1a5aed799bd050a8f015599262 (patch)
tree49a168c79d4177e44005c5680d668da844d001f9 /build.sh
parent7e910beac39341707940e94ae329952e7f6ab965 (diff)
correct check for disabled build; remove unused function
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index e54b8ff047..a978af89ab 100755
--- a/build.sh
+++ b/build.sh
@@ -16,12 +16,6 @@
# * The special style in which python is invoked is intentional to permit
# use of a native python install on windows - which requires paths in DOS form
-# check_for() ]
-# { ]
-# if [ -e "$2" !#\; then found_dict='FOUND'; else found_dict='MISSING'; fi ]
-# echo "$1 ${found_dict} '$2' " 1>&2 ]
-# } ]
-
build_dir_Darwin()
{
echo build-darwin-i386
@@ -185,7 +179,7 @@ then
fi
# Check to see if we're skipping the platform
-if ! '$build_'"$arch"
+if ! eval '$build_'"$arch"
then
record_event "building on architecture $arch is disabled"
pass