VirtualBox

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


Ignore:
Timestamp:
May 19, 2021 2:22:59 PM (4 years ago)
Author:
vboxsync
Message:

Installer: Linux: attempt to fix VBox version detection on Debian shell, bugref:9958.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r89166 r89173  
    158158
    159159# Detect VirtualBox version info or report error.
    160 VBOX_VERSION="`$VBOXMANAGE -v 2>/dev/null | cut -d r -f1`"
     160VBOX_VERSION="`"$VBOXMANAGE" -v | cut -d r -f1`"
    161161[ -n "$VBOX_VERSION" ] || failure 'Cannot detect VirtualBox version number'
    162 VBOX_REVISION="r`$VBOXMANAGE -v 2>/dev/null | cut -d r -f2`"
     162VBOX_REVISION="r`"$VBOXMANAGE" -v | cut -d r -f2`"
    163163[ "$VBOX_REVISION" != "r" ] || failure 'Cannot detect VirtualBox revision number'
    164164
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