source: vendor/current/lib/update-external.sh@ 740

Last change on this file since 740 was 740, checked in by Silvan Scherrer, 13 years ago

Samba Server: update vendor to 3.6.0

File size: 802 bytes
Line 
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
4
5TARGETDIR="`dirname $0`"
6WORKDIR="`mktemp -d`"
7
8echo "Updating subunit..."
9bzr export "$WORKDIR/subunit" lp:subunit
10# Preserve wscript file
11cp "$TARGETDIR/subunit/c/wscript" "$WORKDIR/subunit/c/wscript"
12rsync -avz --delete "$WORKDIR/subunit/" "$TARGETDIR/subunit/"
13
14echo "Updating testtools..."
15bzr export "$WORKDIR/testtools" lp:testtools
16rsync -avz --delete "$WORKDIR/testtools/" "$TARGETDIR/testtools/"
17
18echo "Updating dnspython..."
19git clone git://www.dnspython.org/dnspython.git "$WORKDIR/dnspython"
20rm -rf "$WORKDIR/dnspython/.git"
21rsync -avz --delete "$WORKDIR/dnspython/" "$TARGETDIR/dnspython/"
22
23rm -rf "$WORKDIR"
Note: See TracBrowser for help on using the repository browser.