param: remove duplicate lp_bool function
[Samba.git] / buildtools / update-waf.sh
blob277111feb4929d37cd4a77931b01af0da979f225
1 #!/bin/sh
2 # Update our copy of waf
4 TARGETDIR="`dirname $0`"
5 WORKDIR="`mktemp -d -t update-waf-XXXXXX`"
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"