summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-12-22 13:54:39 -0500
committerOz Linden <oz@lindenlab.com>2016-12-22 13:54:39 -0500
commit0131e8a0815826bda538908991d28e23624c0754 (patch)
tree258469635e4d163749ae9a0650092782e313de95 /build.sh
parent6ef555414dedca9db915ef71c320ed53090b1e8e (diff)
one more try... also fixing setting of viewer_channel without quotes
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/build.sh b/build.sh
index 7efe6e3492..130c620d23 100755
--- a/build.sh
+++ b/build.sh
@@ -47,8 +47,7 @@ viewer_channel_suffix()
installer_Darwin()
{
local package_name="$1"
- local variant=${last_built_variant:-Release}
- local package_dir="$(build_dir_Darwin)/newview/${variant}/"
+ local package_dir="$(build_dir_Darwin)/newview/"
local pattern=".*$(viewer_channel_suffix ${package_name})_[0-9]+_[0-9]+_[0-9]+_[0-9]+_x86_64\\.dmg\$"
# since the additional packages are built after the base package,
# sorting oldest first ensures that the unqualified package is returned
@@ -60,8 +59,7 @@ installer_Darwin()
installer_Linux()
{
local package_name="$1"
- local variant=${last_built_variant:-Release}
- local package_dir="$(build_dir_Linux)/newview/${variant}/"
+ local package_dir="$(build_dir_Linux)/newview/"
local pattern=".*$(viewer_channel_suffix ${package_name})_[0-9]+_[0-9]+_[0-9]+_[0-9]+_i686\\.tar\\.bz2\$"
# since the additional packages are built after the base package,
# sorting oldest first ensures that the unqualified package is returned
@@ -112,7 +110,7 @@ pre_build()
-DUNATTENDED:BOOL=ON \
-DHAVOK:BOOL="$HAVOK" \
-DRELEASE_CRASH_REPORTING:BOOL="$RELEASE_CRASH_REPORTING" \
- -DVIEWER_CHANNEL:STRING="\"$viewer_channel\"" \
+ -DVIEWER_CHANNEL:STRING="${viewer_channel}" \
-DGRID:STRING="\"$viewer_grid\"" \
-DLL_TESTS:BOOL="$run_tests" \
-DTEMPLATE_VERIFIER_OPTIONS:STRING="$template_verifier_options" $template_verifier_master_url \
@@ -383,7 +381,7 @@ then
package=$(installer_$arch)
if [ x"$package" = x ] || test -d "$package"
then
- fatal "No installer found at '$package'"
+ fatal "No installer found from `pwd`"
succeeded=$build_coverity
else
# Upload base package.