VirtualBox

Changeset 92650 in vbox


Ignore:
Timestamp:
Nov 30, 2021 12:43:37 PM (3 years ago)
Author:
vboxsync
Message:

Installer/solaris: /bin/sh on Solaris 10 does not understand $() style command expansion, have to use . Introduced in change handling devlink.tab group membership.

File:
1 edited

Legend:

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

    r92636 r92650  
    682682        # Solaris 11 SRU6 and later use group root (check a file which isn't
    683683        # tainted by VirtualBox install scripts and allow no other group)
    684         refgroup=$(LC_ALL=C /usr/bin/ls -lL "$PKG_INSTALL_ROOT/etc/dev/reserved_devnames" | awk '{ print $4 }' 2>/dev/null)
     684        refgroup=`LC_ALL=C /usr/bin/ls -lL "$PKG_INSTALL_ROOT/etc/dev/reserved_devnames" | awk '{ print $4 }' 2>/dev/null`
    685685        if [ $? -eq 0 -a "x$refgroup" = "xroot" ]; then
    686686            group=root
     
    810810        # Solaris 11 SRU6 and later use group root (check a file which isn't
    811811        # tainted by VirtualBox install scripts and allow no other group)
    812         refgroup=$(LC_ALL=C /usr/bin/ls -lL "$PKG_INSTALL_ROOT/etc/dev/reserved_devnames" | awk '{ print $4 }' 2>/dev/null)
     812        refgroup=`LC_ALL=C /usr/bin/ls -lL "$PKG_INSTALL_ROOT/etc/dev/reserved_devnames" | awk '{ print $4 }' 2>/dev/null`
    813813        if [ $? -eq 0 -a "x$refgroup" = "xroot" ]; then
    814814            group=root
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