ctdb-tcp: move free of inbound queue to TCP restart
[Samba.git] / third_party / update.sh
bloba510e8a70426e0b2f154011af9f481d10b7aa901
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 # Third party directory
6 THIRD_PARTY_DIR="`dirname $0`"
7 # Library directory where projects live that haven't been migrated to
8 # $THIRD_PARTY_DIR yet.
9 WORKDIR="`mktemp -d`"
11 echo "Updating pep8..."
12 git clone git://git.samba.org/third_party/pep8 "$WORKDIR/pep8"
13 rm -rf "$WORKDIR/pep8/.git"
14 rsync -avz --delete "$WORKDIR/pep8/" "$THIRD_PARTY_DIR/pep8/"
16 echo "Updating zlib..."
17 git clone git://git.samba.org/third_party/zlib "$WORKDIR/zlib"
18 rm -rf "$WORKDIR/zlib/.git"
19 rsync --exclude=wscript -avz --delete "$WORKDIR/zlib/" "$THIRD_PARTY_DIR/zlib/"
21 echo "Updating pyiso8601..."
22 hg clone https://bitbucket.org/micktwomey/pyiso8601 "$WORKDIR/pyiso8601"
23 rm -rf "$WORKDIR/pyiso8601/.hg"
24 rsync -avz --delete "$WORKDIR/pyiso8601/" "$THIRD_PARTY_DIR/pyiso8601/"
26 echo "Updating waf..."
27 git clone git://git.samba.org/third_party/waf.waf15/ "$WORKDIR/waf"
28 rm -rf "$WORKDIR/waf/.git"
29 rsync -C -avz --delete "$WORKDIR/waf/" "$THIRD_PARTY_DIR/waf/"
31 rm -rf "$WORKDIR"