From 48c2b2496d3ed6aeeebb0bc8950725f8ef7e305f Mon Sep 17 00:00:00 2001
From: "Christian Goetze (CG)" <cg@lindenlab.com>
Date: Fri, 8 Oct 2010 13:02:39 -0700
Subject: [PATCH] Have build.sh print out info usable by open source devs. Have
 it check for a README and use that if needed.

---
 build.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 25ff0f368d3..9b4d4a16dc7 100755
--- a/build.sh
+++ b/build.sh
@@ -114,11 +114,15 @@ then
   if [ -x "$top/../buildscripts/hg/bin/build.sh" ]
   then
     exec "$top/../buildscripts/hg/bin/build.sh" "$top"
+  elif [ -r "$top/README" ]
+  then
+    cat "$top/README"
+    exit 1
   else
     cat <<EOF
 This script, if called in a development environment, requires that the branch
 independent build script repository be checked out next to this repository.
-This repository is located at http://hg.lindenlab.com/parabuild/buildscripts
+This repository is located at http://hg.secondlife.com/buildscripts
 EOF
     exit 1
   fi
-- 
GitLab