VirtualBox

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


Ignore:
Timestamp:
Jun 15, 2009 11:19:57 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48601
Message:

Solaris/Installer: fixed finding id bin when xpg4 id isn't found.

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

Legend:

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

    r20494 r20587  
    2727    idbin=/usr/xpg4/bin/id
    2828    if test ! -f "$idbin"; then
    29         found=`which id | grep "no id"`
    30         if test ! -z "$found"; then
     29        found=`which id`
     30        if test ! -f "$found" || test ! -h "$found"; then
    3131            echo "## Failed to find a suitable user id binary."
    3232            exit 1
  • trunk/src/VBox/Installer/solaris/vboxdrv.sh

    r18265 r20587  
    152152    idbin=/usr/xpg4/bin/id
    153153    if test ! -f "$idbin"; then
    154         found=`which id | grep "no id"`
    155         if test ! -z "$found"; then
     154        found=`which id`
     155        if test ! -f "$found" || test ! -h "$found"; then
    156156            abort "Failed to find a suitable user id binary! Aborting"
    157157        else
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