diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-05-24 16:08:36 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-05-24 16:08:36 -0400 |
commit | a8470df2c433d2ce0376dde4f1a54b46ba9b01d7 (patch) | |
tree | 8f05bd3512209d0e4b0f189d4e4f95f06c622514 /build.sh | |
parent | 10c45691c7c48557f183cc9686f6a5c13c21a29d (diff) | |
parent | 79131e8a480ab3611ce739717ed84c6ad76aa234 (diff) |
merge
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -32,19 +32,23 @@ build_dir_CYGWIN() installer_Darwin() { - ls -1td "$(build_dir_Darwin Release)/newview/"*.dmg 2>/dev/null | sed 1q + ls -1td "$(build_dir_Darwin ${last_built_variant:-Release})/newview/"*.dmg 2>/dev/null | sed 1q } installer_Linux() { - ls -1td "$(build_dir_Linux Release)/newview/"*.tar.bz2 2>/dev/null | sed 1q + ls -1td "$(build_dir_Linux ${last_built_variant:-Release})/newview/"*.tar.bz2 2>/dev/null | sed 1q } installer_CYGWIN() { - d=$(build_dir_CYGWIN Release) - p=$(sed 's:.*=::' "$d/newview/Release/touched.bat") - echo "$d/newview/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() |