summaryrefslogtreecommitdiff
path: root/source/x/mesa/get-mesa.sh
blob: 710043c64d9a1f91f8f2c71a1772975f5be8667c (plain)
1
2
3
4
5
6
7
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