s4-auth-krb: Streamline and cleanup code to make it readable.
[Samba/gbeck.git] / buildtools / update-waf.sh
blobc368f5a73668369c58f7447d346cf69624886772
1 #!/bin/sh
2 # Update our copy of waf
4 TARGETDIR="`dirname $0`"
5 WORKDIR="`mktemp -d -t update-waf`"
7 mkdir -p "$WORKDIR"
9 git clone https://code.google.com/p/waf.waf15/ "$WORKDIR"
11 rsync -C -avz --delete "$WORKDIR/wafadmin/" "$TARGETDIR/wafadmin/"
13 rm -rf "$WORKDIR"