s4:libcli/util/tstream.c - Need to include "system/network.h"
[Samba/ekacnet.git] / lib / subunit / update.sh
blobf8265b188cdc714491285c4f7d11ef2d3f7b9eed
1 #!/bin/sh
2 # Pull in a new snapshot of Subunit from the upstream bzr branch
4 TARGETDIR="`dirname $0`"
5 WORKDIR="`mktemp -d`"
6 bzr export "$WORKDIR/subunit" lp:subunit
7 bzr export "$WORKDIR/testtools" lp:testtools
9 for p in python/ filters/tap2subunit;
11 rsync -avz --delete "$WORKDIR/subunit/$p" "$TARGETDIR/$p"
12 done
14 rsync -avz --delete "$WORKDIR/testtools/testtools/" "$TARGETDIR/python/testtools/"
16 rm -rf "$WORKDIR"