VirtualBox

忽略:
時間撮記:
2012-9-27 上午11:56:32 (12 年 以前)
作者:
vboxsync
訊息:

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

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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