VirtualBox

Ignore:
Timestamp:
Apr 14, 2008 3:18:32 PM (17 years ago)
Author:
vboxsync
Message:

Additions/x11: make VBoxRandR.sh work with Solaris sed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/installer/VBoxRandR.sh

    r7884 r7952  
    2727if [ "$1" = "--test" ]
    2828then
    29   version=`xrandr -v 2>&1 | sed -n 's/[^0-9]\+version 1\.\([0-9]\+\)/\1/p'`
     29  version=`xrandr -v 2>&1 | sed -n 's/[^0-9]*version 1\.\([0-9]*\)/\1/p'`
    3030  expr "$version" '>=' 2 2>&1 > /dev/null
    3131  exit
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