Mesa (master): travis: correct libdrm required regex to also track libdrm itself

Emil Velikov evelikov at kemper.freedesktop.org
Tue Feb 7 11:17:42 UTC 2017


Module: Mesa
Branch: master
Commit: 96d86b18ee50528c85adf8314ccdd37045df8aef
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96d86b18ee50528c85adf8314ccdd37045df8aef

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Feb  1 22:30:25 2017 +0000

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 <emil.velikov at collabora.com>
Reviewed-by: Andres Gomez <agomez at igalia.com>
Reviewed-by: Rhys Kidd <rhyskidd at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index dfbc052..e8426e9 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




More information about the mesa-commit mailing list