Blame SOURCES/make-pixman-snapshot.sh

87c311
#!/bin/sh
87c311
87c311
DIRNAME=pixman-$( date +%Y%m%d )
87c311
87c311
rm -rf $DIRNAME
87c311
git clone git://git.freedesktop.org/git/pixman $DIRNAME
87c311
cd $DIRNAME
87c311
if [ -z "$1" ]; then
87c311
    git log | head -1
87c311
else
87c311
    git checkout $1
87c311
fi
87c311
rm -rf .git
87c311
cd ..
87c311
tar jcf $DIRNAME.tar.bz2 $DIRNAME
87c311
rm -rf $DIRNAME