VirtualBox

Changeset 43452 in vbox


Ignore:
Timestamp:
Sep 27, 2012 11:56:32 AM (12 years ago)
Author:
vboxsync
Message:

Solaris/Installer: fix Solaris 12 build detection due to typo.

File:
1 edited

Legend:

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

    r43427 r43452  
    275275                    # For S12 it represents the build numbers. e.g. for 4  :  "5.11-5.12.0.0.0.4.1"
    276276                    # For S11 as the "nevada" version numbers. e.g. for 175:  "5.11-0.161" or "5.11-0.175.0.0.0.1.0"
    277                     if test "$HOST_OS_MAJOR_VERSION" -eq 12; then
    278                         HOST_OS_MINORVERSION=`echo "$STR_KERN_MINOR" | cut -f2 -d'-' | cut -f6 -d '.'`
     277                    if test "$HOST_OS_MAJORVERSION" -eq 12; then
     278                        HOST_OS_MINORVERSION=`echo "$STR_KERN_MINOR" | cut -f2 -d'-' | cut -f6 -d'.'`
    279279                    elif test "$HOST_OS_MAJORVERSION" -eq 11; then
    280                         HOST_OS_MINORVERSION=`echo "$STR_KERN_MINOR" | cut -f2 -d'-' | cut -f2 -d '.'`
     280                        HOST_OS_MINORVERSION=`echo "$STR_KERN_MINOR" | cut -f2 -d'-' | cut -f2 -d'.'`
     281                    else
     282                        errorprint "Solaris kernel major version $HOST_OS_MAJORVERSION not supported."
     283                        exit 1
    281284                    fi
    282285                else
     
    296299        if test -z "$HOST_OS_MAJORVERSION" || test "$HOST_OS_MAJORVERSION" != "5.10";  then
    297300            # S11 without 'pkg'?? Something's wrong... bail.
    298             errorprint "Solaris $HOST_OS_MAJOR_VERSION detected without executable $BIN_PKG !? I are confused."
     301            errorprint "Solaris $HOST_OS_MAJORVERSION detected without executable $BIN_PKG !? I are confused."
    299302            exit 1
    300303        fi
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