From 7c5d8dd2a860071f70dfe0492d38eac3b1009ee4 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 7 Jun 2012 11:52:25 -0500 Subject: [PATCH] mesa-o-matic: Fix bug exposed by new Mesa build * While we want to exclude include/GL (because we get the whole directory) we also exclude include/GLES2 which gets picked up in newer Mesa code * Add a slash on the end of the grep to make sure we omit *just* include/GL --- 3rdparty/mesa/mesa-o-matic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/mesa/mesa-o-matic.sh b/3rdparty/mesa/mesa-o-matic.sh index a6d823a257..fb0da48ac7 100755 --- a/3rdparty/mesa/mesa-o-matic.sh +++ b/3rdparty/mesa/mesa-o-matic.sh @@ -81,7 +81,7 @@ do for y in $( echo "$HEADERS_RAW" | cut -d':' -f2 | sed 's/\\//g' | tr -d '\n' ) do - CLEAN_HEADER=$( echo "$y" | grep -v "include/GL" ) + CLEAN_HEADER=$( echo "$y" | grep -v "include/GL/" ) ZIP_HEADERS="$ZIP_HEADERS $CLEAN_HEADER" done done