summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAndrew de Laix <alain@lindenlab.com>2011-01-21 22:25:37 +0000
committerAndrew de Laix <alain@lindenlab.com>2011-01-21 22:25:37 +0000
commitdd3607cba651439fb1f73e78df38a160a2ef4f5c (patch)
tree92fc131c3d1674ad51e5528d3d20586d5b73f523 /build.sh
parent3fa0ae7df8707cf759ae84355fa3f92813ba9e0a (diff)
fix possible races with configures during TC build.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 052349da9f..fb46258f46 100755
--- a/build.sh
+++ b/build.sh
@@ -51,7 +51,6 @@ pre_build()
{
local variant="$1"
begin_section "Pre$variant"
- "$AUTOBUILD" install --skip-license-check
"$AUTOBUILD" configure -c $variant -- -DPACKAGE:BOOL=ON -DRELEASE_CRASH_REPORTING:BOOL=ON
end_section "Pre$variant"
}
@@ -62,7 +61,7 @@ build()
if $build_viewer
then
begin_section "Viewer$variant"
- if "$AUTOBUILD" build -c $variant
+ if "$AUTOBUILD" build -c $variant --no-configure
then
echo true >"$build_dir"/build_ok
else
@@ -142,6 +141,9 @@ fi
# load autbuild provided shell functions and variables
eval "$("$AUTOBUILD" source_environment)"
+# Install packages.
+"$AUTOBUILD" install --skip-license-check
+
# Now run the build
succeeded=true
build_processes=