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
This commit is contained in:
Alexander von Gluck IV 2012-06-07 11:52:25 -05:00
parent 7c8e561489
commit 7c5d8dd2a8

View File

@ -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