diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-01-04 00:31:27 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-01-04 22:34:20 +0100 |
commit | 4f4bce5301ffd8c12aed1b108affa1a75feefb67 (patch) | |
tree | 1607accd70a2c37a9b996f7b42ec926b014cfe5b /buildtools/update-waf.sh | |
parent | 1b45f2aed86dda9fda6e6bcf1c9c7cbdc471c18d (diff) | |
download | samba-4f4bce5301ffd8c12aed1b108affa1a75feefb67.tar.gz |
Include waf as an extracted source directory, rather than as a one-in-a-file script.
Diffstat (limited to 'buildtools/update-waf.sh')
-rwxr-xr-x | buildtools/update-waf.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/buildtools/update-waf.sh b/buildtools/update-waf.sh new file mode 100755 index 00000000000..bb3a4bf6c86 --- /dev/null +++ b/buildtools/update-waf.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# Update our copy of waf + +TARGETDIR="`dirname $0`" +WORKDIR="`mktemp -d`" + +mkdir -p "$WORKDIR" + +svn checkout http://waf.googlecode.com/svn/branches/waf-1.5/wafadmin "$WORKDIR/wafadmin" + +rsync -C -avz --delete "$WORKDIR/wafadmin/" "$TARGETDIR/wafadmin/" + +rm -rf "$WORKDIR" |