From 664b74d3669841059224fdf2fc94b53a36613888 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 31 Dec 2009 18:31:23 +0100 Subject: Add script for updating the copy of subunit. --- lib/subunit/update.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 lib/subunit/update.sh (limited to 'lib') diff --git a/lib/subunit/update.sh b/lib/subunit/update.sh new file mode 100755 index 0000000000..6ef9859c82 --- /dev/null +++ b/lib/subunit/update.sh @@ -0,0 +1,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; +do + rsync -avz --delete "$WORKDIR/subunit/$p/" "$TARGETDIR/$p/" +done + +rm -rf "$WORKDIR" -- cgit