summaryrefslogtreecommitdiff
path: root/source/x/mesa/get-mesa.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/mesa/get-mesa.sh')
-rw-r--r--source/x/mesa/get-mesa.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/x/mesa/get-mesa.sh b/source/x/mesa/get-mesa.sh
new file mode 100644
index 00000000..710043c6
--- /dev/null
+++ b/source/x/mesa/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