summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-04-03 09:37:03 -0400
committerOz Linden <oz@lindenlab.com>2011-04-03 09:37:03 -0400
commitb8e97adced58f81a52e6b76a14309d275d55c8bc (patch)
tree9f2710cbb13093c509896f184a025ab7469c934c /build.sh
parentabc259618f06f69ba8e7c72cb149bcddc1bb6ddf (diff)
parente58c809a5816383674d0f1957440fad728e88893 (diff)
merge changes for OPEN-39
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh16
1 files changed, 14 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index bb645b4d7e..6677958716 100755
--- a/build.sh
+++ b/build.sh
@@ -51,8 +51,20 @@ pre_build()
{
local variant="$1"
begin_section "Pre$variant"
- "$AUTOBUILD" configure -c $variant -- -DPACKAGE:BOOL=ON -DRELEASE_CRASH_REPORTING:BOOL=ON -DUSE_PRECOMPILED_HEADERS=FALSE "-DVIEWER_CHANNEL:STRING=\"$viewer_channel\"" "-DVIEWER_LOGIN_CHANNEL:STRING=\"$viewer_login_channel\""
- end_section "Pre$variant"
+ [ -n "$master_message_template_checkout" ] \
+ && [ -r "$master_message_template_checkout/message_template.msg" ] \
+ && template_verifier_master_url="-DTEMPLATE_VERIFIER_MASTER_URL=file://$master_message_template_checkout/message_template.msg"
+
+ "$AUTOBUILD" configure -c $variant -- \
+ -DPACKAGE:BOOL=ON \
+ -DRELEASE_CRASH_REPORTING:BOOL=ON \
+ -DUSE_PRECOMPILED_HEADERS=FALSE \
+ -DVIEWER_CHANNEL:STRING="\"$viewer_channel\"" \
+ -DVIEWER_LOGIN_CHANNEL:STRING="\"$viewer_login_channel\"" \
+ -DGRID:STRING="\"$viewer_grid\"" \
+ -DLL_TESTS:BOOL="$run_tests" \
+ -DTEMPLATE_VERIFIER_OPTIONS:STRING="$template_verifier_options" $template_verifier_master_url
+ end_section "Pre$variant"
}
build()