config/graphic: remove leading comma in variables

This commit is contained in:
Lukas Rusak 2018-05-20 20:10:27 -07:00
parent 8c2e5a898d
commit b93b40f092
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -98,5 +98,9 @@ get_graphicdrivers() {
VDPAU_SUPPORT="no" VDPAU_SUPPORT="no"
fi fi
# remove leading comma if present
[[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}"
[[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"
done done
} }