Merge update-waf.sh into update-external.sh
authorJelmer Vernooij <jelmer@samba.org>
Wed, 25 Mar 2015 11:13:41 +0000 (11:13 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 26 Mar 2015 21:47:22 +0000 (22:47 +0100)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
buildtools/update-waf.sh [deleted file]
lib/update-external.sh

diff --git a/buildtools/update-waf.sh b/buildtools/update-waf.sh
deleted file mode 100755 (executable)
index 277111f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-# Update our copy of waf
-
-TARGETDIR="`dirname $0`"
-WORKDIR="`mktemp -d -t update-waf-XXXXXX`"
-
-mkdir -p "$WORKDIR"
-
-git clone https://code.google.com/p/waf.waf15/ "$WORKDIR"
-
-rsync -C -avz --delete "$WORKDIR/wafadmin/" "$TARGETDIR/wafadmin/"
-
-rm -rf "$WORKDIR"
index b6b5d1169b9ae5eddfefbd6a6a51f925d4a70e8c..7a22c36cecdf72dada38064eb11689720301c714 100755 (executable)
@@ -28,4 +28,9 @@ hg clone https://bitbucket.org/micktwomey/pyiso8601 "$WORKDIR/pyiso8601"
 rm -rf "$WORKDIR/pyiso8601/.hg"
 rsync -avz --delete "$WORKDIR/pyiso8601/" "$THIRD_PARTY_DIR/pyiso8601/"
 
 rm -rf "$WORKDIR/pyiso8601/.hg"
 rsync -avz --delete "$WORKDIR/pyiso8601/" "$THIRD_PARTY_DIR/pyiso8601/"
 
+echo "Updating waf..."
+git clone git://git.samba.org/third_party/waf.waf15/ "$WORKDIR/waf"
+rm -rf "$WORKDIR/waf/.git"
+rsync -C -avz --delete "$WORKDIR/waf/" "$THIRD_PARTY_DIR/waf/"
+
 rm -rf "$WORKDIR"
 rm -rf "$WORKDIR"