Blame SOURCES/make-pixman-snapshot.sh

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