diff options
author | Emil Velikov <[email protected]> | 2017-02-01 22:30:25 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-02-07 11:14:10 +0000 |
commit | 96d86b18ee50528c85adf8314ccdd37045df8aef (patch) | |
tree | e6da9bb945da0e91833f29969a3b01b60404c6e3 /.travis.yml | |
parent | 49f6408940fec43751fd597a46b7266e6a093719 (diff) |
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: Emil Velikov <[email protected]>
Reviewed-by: Andres Gomez <[email protected]>
Reviewed-by: Rhys Kidd <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index dfbc052a7df..e8426e96a2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ install: # Since libdrm gets updated in configure.ac regularly, try to pick up the # latest version from there. - - for line in `grep "^LIBDRM_.*_REQUIRED=" configure.ac`; do + - for line in `grep "^LIBDRM.*_REQUIRED=" configure.ac`; 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 |