From 1671de36a0172b1a5aed799bd050a8f015599262 Mon Sep 17 00:00:00 2001
From: Oz Linden <oz@lindenlab.com>
Date: Thu, 9 Jun 2016 07:59:50 -0400
Subject: [PATCH] correct check for disabled build; remove unused function

---
 build.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/build.sh b/build.sh
index e54b8ff0470..a978af89ab4 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
-- 
GitLab