VirtualBox

Changeset 22003 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Aug 5, 2009 6:04:47 PM (15 years ago)
Author:
vboxsync
Message:

Solaris/Installer: redirect stderr to /dev/null

Location:
trunk/src/VBox/Installer/solaris
Files:
2 edited

Legend:

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

    r21600 r22003  
    179179rc3=0
    180180if test -f "/opt/VirtualBox/sdk/installer/vboxapisetup.py" || test -h "/opt/VirtualBox/sdk/installer/vboxapisetup.py"; then
    181     PYTHONBIN=`which python`
     181    PYTHONBIN=`which python 2>/dev/null`
    182182    if test -f "$PYTHONBIN" || test -h "$PYTHONBIN"; then
    183183        echo "Installing Python bindings..."
    184184
    185185        INSTALLEDIT=1
    186         PYTHONBIN=`which python2.4`
     186        PYTHONBIN=`which python2.4 2>/dev/null`
    187187        install_python_bindings "$PYTHONBIN"
    188188        if test "$?" -eq 0; then
    189189            INSTALLEDIT=0
    190190        fi
    191         PYTHONBIN=`which python2.5`
     191        PYTHONBIN=`which python2.5 2>/dev/null`
    192192        install_python_bindings "$PYTHONBIN"
    193193        if test "$?" -eq 0; then
    194194            INSTALLEDIT=0
    195195        fi
    196         PYTHONBIN=`which python2.6`
     196        PYTHONBIN=`which python2.6 2>/dev/null`
    197197        install_python_bindings "$PYTHONBIN"
    198198        if test "$?" -eq 0; then
  • trunk/src/VBox/Installer/solaris/postinstall.sh

    r21822 r22003  
    131131    # Install python bindings
    132132    if test -f "/opt/VirtualBox/sdk/installer/vboxapisetup.py" || test -h "/opt/VirtualBox/sdk/installer/vboxapisetup.py"; then
    133         PYTHONBIN=`which python`
     133        PYTHONBIN=`which python 2> /dev/null`
    134134        if test -f "$PYTHONBIN" || test -h "$PYTHONBIN"; then
    135135            echo "Installing Python bindings..."
    136136
    137137            INSTALLEDIT=1
    138             PYTHONBIN=`which python2.4`
     138            PYTHONBIN=`which python2.4 2>/dev/null`
    139139            install_python_bindings "$PYTHONBIN"
    140140            if test "$?" -eq 0; then
    141141                INSTALLEDIT=0
    142142            fi
    143             PYTHONBIN=`which python2.5`
     143            PYTHONBIN=`which python2.5 2>/dev/null`
    144144            install_python_bindings "$PYTHONBIN"
    145145            if test "$?" -eq 0; then
    146146                INSTALLEDIT=0
    147147            fi
    148             PYTHONBIN=`which python2.6`
     148            PYTHONBIN=`which python2.6 2>/dev/null`
    149149            install_python_bindings "$PYTHONBIN"
    150150            if test "$?" -eq 0; then
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