]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - mstpd/svn-export.sh
pdns: Update to version 3.4.7
[people/amarx/ipfire-3.x.git] / mstpd / svn-export.sh
1 #!/bin/bash
2
3 version=${1}
4 revision=${2}
5
6 if [ -z "${version}" ] || [ -z "${revision}" ]; then
7 echo "Usage ${0}: <version> <revision>" >&2
8 exit 1
9 fi
10
11 export_dir=mstpd-${version}-svn${revision}
12 rm -rf ${export_dir}
13
14 set -x
15
16 svn export http://svn.code.sf.net/p/mstpd/code/trunk ${export_dir}
17 tar cfz mstpd-${version}-svn${revision}.tar.gz ${export_dir}
18 rm -rf ${export_dir}
19
20 exit 0