3 svn=svn://svn.lighttpd.net/lighttpd
4 url=https://github.com/lighttpd/lighttpd1.4
8 out=lighttpd-branch.diff
10 # old version of this code used to create tarball.
12 if [ "$1" = "tarball" ]; then
14 svn co $svn/trunk $package-$v
15 r=$(svnversion $package-$v)
16 t=$package-r$r.tar.bz2
17 tar -cjf $t --exclude-vcs $package-$v
25 # Excluding files which change version or were not in dist tarball
33 echo >&2 "Running diff: $tag...$branch"
34 LC_ALL=C curl -Ss $url/compare/$tag...$branch.patch > $out.tmp
36 filter < $out.tmp > $out.tmp2 && mv -f $out.{tmp2,tmp}
38 if cmp -s $out{,.tmp}; then
39 echo >&2 "No new diffs..."