summaryrefslogtreecommitdiff
path: root/pasture/source/mesa-7.8.2/get-mesa.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pasture/source/mesa-7.8.2/get-mesa.sh')
-rw-r--r--pasture/source/mesa-7.8.2/get-mesa.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/pasture/source/mesa-7.8.2/get-mesa.sh b/pasture/source/mesa-7.8.2/get-mesa.sh
new file mode 100644
index 00000000..710043c6
--- /dev/null
+++ b/pasture/source/mesa-7.8.2/get-mesa.sh
@@ -0,0 +1,8 @@
+rm -rf mesa
+git clone git://anongit.freedesktop.org/git/mesa/mesa
+# package the source archive and clean up:
+( cd mesa ; find . -type d -name .git -exec rm -rf {} \; 2> /dev/null )
+DATE=$(date +%Y%m%d)
+mv mesa mesa-${DATE}_git
+tar cjf mesa-${DATE}_git.tar.bz2 mesa-${DATE}_git
+rm -rf mesa-${DATE}_git