VirtualBox

Ignore:
Timestamp:
Feb 8, 2022 5:11:45 PM (3 years ago)
Author:
vboxsync
Message:

Installer/solaris, Additions/solaris/Installer: /bin/sh on Solaris 10 is
actually the Bourne shell and thus does not understand $() style command
expansion, so one must use . Fix a regression introduced in r148366
which addressed the mishandling of /etc/devlink.tab group membership.
ticketref:20780

File:
1 edited

Legend:

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

    r93115 r93662  
    5454    # Solaris 11 SRU6 and later use group root (check a file which isn't
    5555    # tainted by VirtualBox install scripts and allow no other group)
    56     refgroup=$(LC_ALL=C /usr/bin/ls -lL /etc/dev/reserved_devnames | awk '{ print $4 }' 2>/dev/null)
     56    refgroup=`LC_ALL=C /usr/bin/ls -lL /etc/dev/reserved_devnames | awk '{ print $4 }' 2>/dev/null`
    5757    if [ $? -eq 0 -a "x$refgroup" = "xroot" ]; then
    5858        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