mingw-pixman/make-pixman-snapshot.sh
DistroBaker 4850b379ca Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/mingw-pixman.git#ed6acdbed1b6d7be5eda924306235775031ad846
2020-12-15 16:40:32 +01:00

17 lines
268 B
Bash
Executable File

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