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.
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/"