summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-12-22 11:50:33 -0500
committerOz Linden <oz@lindenlab.com>2016-12-22 11:50:33 -0500
commit6ef555414dedca9db915ef71c320ed53090b1e8e (patch)
treef01162e7cc396811d21d1947cad2374c56162095 /build.sh
parente9f5ed6591fb5d2513b5065622b9e7dac6737913 (diff)
try again to actually fix the installer name function for Mac (and maybe Linux?)
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 7d0a961486..7efe6e3492 100755
--- a/build.sh
+++ b/build.sh
@@ -47,7 +47,8 @@ viewer_channel_suffix()
installer_Darwin()
{
local package_name="$1"
- local package_dir="newview/$(build_dir_Darwin ${last_built_variant:-Release})/"
+ local variant=${last_built_variant:-Release}
+ local package_dir="$(build_dir_Darwin)/newview/${variant}/"
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
@@ -59,7 +60,8 @@ installer_Darwin()
installer_Linux()
{
local package_name="$1"
- local package_dir="newview/$(build_dir_Linux ${last_built_variant:-Release})/"
+ local variant=${last_built_variant:-Release}
+ local package_dir="$(build_dir_Linux)/newview/${variant}/"
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