summaryrefslogtreecommitdiff
path: root/lib/subunit/update.sh
blob: 6d996cdfd587d0c4a1f3be78d30d019d19ac8c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Pull in a new snapshot of Subunit from the upstream bzr branch

TARGETDIR="`dirname $0`"
WORKDIR="`mktemp -d`"
bzr branch lp:subunit "$WORKDIR/subunit"

for p in python/ filters/tap2subunit;
do
	rsync -avz --delete "$WORKDIR/subunit/$p" "$TARGETDIR/$p"
done

rm -rf "$WORKDIR"