Fix bug #7384 - dptr_Close has a bitmap leak.
[Samba/gebeck_regimport.git] / lib / update-external.sh
blobfc2443b77e6ddd042d2ff0858c00ed41637828da
1 #!/bin/sh
2 # Pull in a new snapshot of external projects that are included in
3 # our source tree for users that don't have them installed on their system
5 TARGETDIR="`dirname $0`"
6 WORKDIR="`mktemp -d`"
8 echo "Updating subunit..."
9 bzr export "$WORKDIR/subunit" lp:subunit
10 rsync -avz --delete "$WORKDIR/subunit/" "$TARGETDIR/subunit/"
12 echo "Updating testtools..."
13 bzr export "$WORKDIR/testtools" lp:testtools
14 rsync -avz --delete "$WORKDIR/testtools/" "$TARGETDIR/testtools/"
16 echo "Updating dnspython..."
17 git clone git://www.dnspython.org/dnspython.git "$WORKDIR/dnspython"
18 rm -rf "$WORKDIR/dnspython/.git"
19 rsync -avz --delete "$WORKDIR/dnspython/" "$TARGETDIR/dnspython/"
21 rm -rf "$WORKDIR"