Changeset 345 in flair-src


Ignore:
Timestamp:
Feb 4, 2020, 1:34:41 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

update script to be compatible with newer libgl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/distribution_specific_hack.sh

    r316 r345  
    4848        DRIVER=$(cat /sys/dev/char/$((16#$DRI_CARD_MAJOR)):$((16#$DRI_CARD_MINOR))/device/uevent | grep DRIVER | cut -d= -f2)
    4949        echo "Mesa DRI driver is $DRIVER"
    50         DRIVER_LIB=$(LIBGL_DEBUG=verbose glxinfo 2>&1 | grep OpenDriver | tail -n 1 | sed -e "s/.* \(.*\)/\1/")
     50        DRIVER_LIB=$(LIBGL_DEBUG=verbose glxinfo 2>&1 | grep "\.so" | tail -n 1 | grep -o '/.*\.so')
    5151
    5252        #todo: make a list, find a complete one!
Note: See TracChangeset for help on using the changeset viewer.