summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-23 11:38:33 -0400
committerOz Linden <oz@lindenlab.com>2011-05-23 11:38:33 -0400
commit551d17f819ea3dbcdc61cb41a458ab6d893d28cf (patch)
tree130c90ed3b0f6a4245af843cf9170130d549dc4f /build.sh
parent99fe1004a6cb4406bcac790420a5be6269e02723 (diff)
parente5752934be74a84e6ec0ff8cb96974bd1e9060ec (diff)
merge latest changes (post-2.7.0) from viewer-development
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index d46da2c66d..4268c76e78 100755
--- a/build.sh
+++ b/build.sh
@@ -42,9 +42,13 @@ installer_Linux()
installer_CYGWIN()
{
- d=$(build_dir_CYGWIN ${last_built_variant:-Release})
- p=$(sed 's:.*=::' "$d/newview/${last_built_variant:-Release}/touched.bat")
- echo "$d/newview/${last_built_variant:-Release}/$p"
+ v=${last_built_variant:-Release}
+ d=$(build_dir_CYGWIN $v)
+ if [ -r "$d/newview/$v/touched.bat" ]
+ then
+ p=$(sed 's:.*=::' "$d/newview/$v/touched.bat")
+ echo "$d/newview/$v/$p"
+ fi
}
pre_build()