Blame SOURCES/make-pixman-snapshot.sh

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