4 svn=http://$p.googlecode.com/svn/trunk
5 dl="https://code.google.com/p/$p/downloads/list?can=2&colspec=Filename"
11 if [ -z "$html" ]; then
12 html=$(lynx -width 1200 -dump -nolist "$dl")
14 echo "$html" | tee debug.log
17 date=$(html | perl -ne '/'$fn'-(\d+).+jar/and print $1 and exit')
25 if [ ! -d "$d" ]; then
26 svn export -q $svn@$rev $p-$date
30 if [ ! -f "$t" ]; then
31 tar -cjf $t --exclude-vcs $d