s4:auth: check for user_info->mapped.account_name if it needs to be filled
[Samba.git] / third_party / update.sh
blob7f3581a03e2932c0f2e874467a59b5907e221946
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"