summaryrefslogtreecommitdiffstats
path: root/get-sources.sh
blob: c6319771d27b66f660026101b8e68a54be662316 (plain)
1
2
3
4
5
6
7
8
9
10
11
set -e
set -x

n=crypt
eval v=$(awk '/^Version/{print $2}' cygwin-crypt.spec)

git clone -b crypt-${v/./_}-release git://sourceware.org/git/cygwin-apps/crypt.git

mv $n $n-$v
tar --exclude-vcs -Jcf $n-$v.tar.xz $n-$v/
rm -fr $n-$v/