VirtualBox

Changeset 89158 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
May 19, 2021 11:53:06 AM (4 years ago)
Author:
vboxsync
Message:

Installer: Linux: Temporary add diagnostic logging to vboxdrv.sh (2) (to be reverted).

File:
1 edited

Legend:

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

    r89157 r89158  
    158158
    159159# Detect VirtualBox version info or report error on error.
    160 VBOX_VERSION=$($VBOXMANAGE -v 2>/dev/null | cut -d 'r' -f1)
    161 VBOX_REVISION="r$($VBOXMANAGE -v 2>/dev/null | cut -d 'r' -f2)"
    162 echo "diagnostics: cut: " $(which cut) $([ -x "$(which cut)" ] && echo 1)
    163 echo "diagnostics: VBOXMANAGE: " $VBOXMANAGE $([ -x "$VBOXMANAGE" ] && echo 1)
    164 echo "diagnostics: VBOX_VERSION =" .$VBOX_VERSION.
    165 echo "diagnostics: VBOX_REVISION =" .$VBOX_REVISION.
     160VBOX_VERSION="$($VBOXMANAGE -v 2>/dev/null | cut -d r -f1)"
     161VBOX_REVISION="r$($VBOXMANAGE -v 2>/dev/null | cut -d r -f2)"
     162echo diagnostics: cut:  $(which cut) $([ -x $(which cut) ] && echo 1)
     163echo diagnostics: VBOXMANAGE: $VBOXMANAGE $([ -x "$VBOXMANAGE" ] && echo 1)
     164echo diagnostics: VBOX_VERSION = .$VBOX_VERSION.
     165echo diagnostics: VBOX_REVISION = .$VBOX_REVISION.
    166166if test -z "$VBOX_VERSION" -o "$VBOX_REVISION" = "r"; then
    167167    failure 'Cannot detect VirtualBox version'
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