Commit 69566981 authored by Emil Velikov's avatar Emil Velikov Committed by Andres Gomez

travis: correct libdrm required regex to also track libdrm itself

The current regex was tracking only the libdrm_foo packages, while with
recent changed we bumped only (and rightfully so) libdrm.

Fix the regex to track any libdrm package.
Signed-off-by: default avatarEmil Velikov <>
Reviewed-by: Andres Gomez's avatarAndres Gomez <>
Reviewed-by: Rhys Kidd's avatarRhys Kidd <>
Reviewed-by: Eric Anholt's avatarEric Anholt <>
(cherry picked from commit 96d86b18)
parent 6cb65ce2
......@@ -47,7 +47,7 @@ install:
# Since libdrm gets updated in regularly, try to pick up the
# latest version from there.
- for line in `grep "^LIBDRM_.*_REQUIRED="`; do
- for line in `grep "^LIBDRM.*_REQUIRED="`; do
old_ver=`echo $LIBDRM_VERSION | sed 's/libdrm-//'`;
new_ver=`echo $line | sed 's/.*REQUIRED=//'`;
if `echo "$old_ver,$new_ver" | tr ',' '\n' | sort -Vc 2> /dev/null`; then
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment