Blame SOURCES/make-pixman-snapshot.sh

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