]> git.pld-linux.org Git - packages/php-pecl-ssh2.git/blame - branch.sh
- php 5.5 rebuild
[packages/php-pecl-ssh2.git] / branch.sh
CommitLineData
93ebbc61
ER
1#!/bin/sh
2set -e
3pecl=ssh2
4svn=http://svn.php.net/repository/pecl/$pecl
5tag=RELEASE_0_11_0
6out=branch.diff
7
8d=$-
9filter() {
10 set -$d
11 # remove revno's for smaller diffs
12 sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
13}
14
15old=$svn/tags/$tag
16new=$svn/trunk
17echo >&2 "Running diff: $old -> $new"
18LC_ALL=C svn diff --old=$old --new=$new | filter > $out.tmp
19
20if cmp -s $out{,.tmp}; then
21 echo >&2 "No new diffs..."
22 rm -f $out.tmp
23 exit 0
24fi
25mv -f $out{.tmp,}
This page took 0.049952 seconds and 4 git commands to generate.