Merge update-waf.sh into update-external.sh
[samba.git] / lib / update-external.sh
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"