s3:mod:posixacl_xattr: use NUMERIC_CMP in posixacl_xattr_entry_compare
[Samba.git] / third_party / update.sh
blobaa40184849b54658a56b766c866552a99bf2445c
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 zlib..."
12 git clone git://git.samba.org/third_party/zlib "$WORKDIR/zlib"
13 rm -rf "$WORKDIR/zlib/.git"
14 rsync --exclude=wscript -avz --delete "$WORKDIR/zlib/" "$THIRD_PARTY_DIR/zlib/"
16 echo "Updating pyiso8601..."
17 hg clone https://bitbucket.org/micktwomey/pyiso8601 "$WORKDIR/pyiso8601"
18 rm -rf "$WORKDIR/pyiso8601/.hg"
19 rsync -avz --delete "$WORKDIR/pyiso8601/" "$THIRD_PARTY_DIR/pyiso8601/"
21 rm -rf "$WORKDIR"