diff options
Diffstat (limited to '')
-rwxr-xr-x | linden/indra/newview/linux_tools/getvoice.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/linux_tools/getvoice.sh b/linden/indra/newview/linux_tools/getvoice.sh index 13b632f..afebda9 100755 --- a/linden/indra/newview/linux_tools/getvoice.sh +++ b/linden/indra/newview/linux_tools/getvoice.sh | |||
@@ -3,8 +3,9 @@ | |||
3 | SCRIPTSRC=`readlink -f "$0" || echo "$0"` | 3 | SCRIPTSRC=`readlink -f "$0" || echo "$0"` |
4 | RUN_PATH=`dirname "${SCRIPTSRC}" || echo .` | 4 | RUN_PATH=`dirname "${SCRIPTSRC}" || echo .` |
5 | 5 | ||
6 | #if mozilla-runtime-linux-x86_64 is present we are using 64bit Imprudence on 64bit Linux | 6 | BINARY_SYSTEM=$(expr match "$(file -b /bin/uname)" '\(.*executable\)') |
7 | if [ -d "${RUN_PATH}/app_settings/mozilla-runtime-linux-x86_64/" ]; then | 7 | BINARY_VIEWER=$(expr match "$(file -b ${RUN_PATH}/bin/do-not-directly-run-imprudence-bin)" '\(.*executable\)') |
8 | if ( [ "$BINARY_SYSTEM" == "ELF 64-bit LSB executable" ] && [ "$BINARY_VIEWER" == "ELF 64-bit LSB executable" ] ); then | ||
8 | LIB_INSTALLDIR="lib32/" # It's 32bit voice on 64bit Linux and 64bit viewer. Not using lib/ for avoiding ambiguity. | 9 | LIB_INSTALLDIR="lib32/" # It's 32bit voice on 64bit Linux and 64bit viewer. Not using lib/ for avoiding ambiguity. |
9 | else | 10 | else |
10 | LIB_INSTALLDIR="lib/" # It's 32bit voice on 32 or 64bit Linux and 32bit viewer. | 11 | LIB_INSTALLDIR="lib/" # It's 32bit voice on 32 or 64bit Linux and 32bit viewer. |