Add bundled copy of 'extras' python module used by newer versions of testtools/subunit.
[samba.git] / lib / update-external.sh
index 95e33bc4b9d263dbc91bdc283eb5c49da2e88c14..1d30721ca83f6d7f1baca894bd9ee152fe19a930 100755 (executable)
@@ -36,4 +36,9 @@ git clone git://github.com/madler/zlib "$WORKDIR/zlib"
 rm -rf "$WORKDIR/zlib/.git"
 rsync --exclude=wscript -avz --delete "$WORKDIR/zlib/" "$THIRD_PARTY_DIR/zlib/"
 
+echo "Updating extra..."
+git clone git://github.com/testing-cabal/extras "$WORKDIR/extras"
+rm -rf "$WORKDIR/extras/.git"
+rsync -avz --delete "$WORKDIR/extras/" "$LIBDIR/extras/"
+
 rm -rf "$WORKDIR"