summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2011-04-14 18:27:31 +0000
committerDon Kjer <don@lindenlab.com>2011-04-14 18:27:31 +0000
commit01f4570c795b197e74bfa96139631c43df8d0664 (patch)
tree7c1952cc51adec21025f537281e59f828e75224d /build.sh
parent2bf967149626672584b17b53fb5d2e6186f3d896 (diff)
parent88a7262340f2fc5085f4ac6600790518d01292d6 (diff)
Merge with viewer-development
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh20
1 files changed, 14 insertions, 6 deletions
diff --git a/build.sh b/build.sh
index cb5f74fb3c..6677958716 100755
--- a/build.sh
+++ b/build.sh
@@ -51,12 +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\""
- [ -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"
- -DLL_TESTS:BOOL="$run_tests" \
- -DTEMPLATE_VERIFIER_OPTIONS:STRING="$template_verifier_options" $template_verifier_master_url
- 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()