Fix the overwriting of errno before use in a DEBUG statement and use the return value...
[Samba/vl.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"