samr4: Use <SID=%s> in GetGroupsForUser
[Samba.git] / lib / update-external.sh
blobd272f7462de181eef0775914eaebe167daf23e82
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 # Preserve wscript file
11 cp "$TARGETDIR/subunit/c/wscript" "$WORKDIR/subunit/c/wscript"
12 rsync -avz --delete "$WORKDIR/subunit/" "$TARGETDIR/subunit/"
14 echo "Updating testtools..."
15 bzr export "$WORKDIR/testtools" lp:testtools
16 rsync -avz --delete "$WORKDIR/testtools/" "$TARGETDIR/testtools/"
18 echo "Updating dnspython..."
19 git clone git://www.dnspython.org/dnspython.git "$WORKDIR/dnspython"
20 rm -rf "$WORKDIR/dnspython/.git"
21 rsync -avz --delete "$WORKDIR/dnspython/" "$TARGETDIR/dnspython/"
23 echo "Updating pep8..."
24 git clone git://github.com/jcrocholl/pep8 "$WORKDIR/pep8"
25 rm -rf "$WORKDIR/pep8/.git"
26 rsync -avz --delete "$WORKDIR/pep8/" "$TARGETDIR/pep8/"
28 echo "Updating extra..."
29 git clone git://github.com/testing-cabal/extras "$WORKDIR/extras"
30 rm -rf "$WORKDIR/extras/.git"
31 rsync -avz --delete "$WORKDIR/extras/" "$LIBDIR/extras/"
33 echo "Updating extra..."
34 git clone git://github.com/testing-cabal/extras "$WORKDIR/extras"
35 rm -rf "$WORKDIR/extras/.git"
36 rsync -avz --delete "$WORKDIR/extras/" "$LIBDIR/extras/"
38 echo "Updating mimeparse..."
39 svn co http://mimeparse.googlecode.com/svn/trunk/ "$WORKDIR/mimeparse"
40 rm -rf "$WORKDIR/mimeparse/.svn"
41 rsync -avz --delete "$WORKDIR/mimeparse/" "$LIBDIR/mimeparse/"
43 rm -rf "$WORKDIR"