Magellan Linux

Contents of /trunk/opengl-update/update-headers.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1320 - (show annotations) (download) (as text)
Mon May 30 08:58:45 2011 UTC (12 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 196 byte(s)
-added update-headers script
1 #!/bin/bash
2
3 URL="http://www.opengl.org/registry/api"
4 HEADERS="glext.h glxext.h"
5
6 for i in ${HEADERS}
7 do
8 echo "fetching ${URL}/${i}..."
9 [[ -f $(pwd)/${i} ]] && rm ${i}
10 wget -c ${URL}/${i}
11 done