VirtualBox

Changeset 37194 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 24, 2011 1:11:14 PM (14 years ago)
Author:
vboxsync
Message:

Additions/Solaris: addressed locale breakage in a better way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r37182 r37194  
    2222# terms and conditions of either the GPL or the CDDL or both.
    2323#
     24
     25export LANG=C
    2426
    2527# uncompress(directory, file)
     
    217219        # We do not rely on using Xorg -version's ABI output because some builds (snv_162 iirc) have 64-bit ABI with
    218220        # 32-bit file locations.
    219         bitsize=`file $vboxmouse32_dest_base/mouse_drv.so | grep -i "32-bit"`
    220         skip32="no"
     221        if test -f "$vboxmouse32_dest_base/mouse_drv.so"; then
     222            bitsize=`file "$vboxmouse32_dest_base/mouse_drv.so" | grep -i "32-bit"`
     223            skip32="no"
     224        else
     225            echo "* Warning mouse_drv.so missing. Assuming Xorg ABI is 64-bit..."
     226        fi
     227
    221228        if test -z "$bitsize"; then
    222229            skip32="yes"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette