Blame SOURCES/make-pixman-snapshot.sh

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