From: Fred Drake Date: Mon, 1 Apr 2002 20:15:05 +0000 (+0000) Subject: Update to push the docs to python.org instead of python.sf.net. X-Git-Tag: v2.3c1~6184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f54519d9e4fe18986264d10014b70653a01892f7;p=python Update to push the docs to python.org instead of python.sf.net. --- diff --git a/Doc/tools/push-docs.sh b/Doc/tools/push-docs.sh index 11a5f336ea..389f7bb040 100755 --- a/Doc/tools/push-docs.sh +++ b/Doc/tools/push-docs.sh @@ -3,7 +3,10 @@ # Script to push docs from my development area to SourceForge, where the # update-docs.sh script unpacks them into their final destination. -TARGET=python.sourceforge.net:/home/users/f/fd/fdrake/tmp +TARGETHOST=www.python.org +TARGETDIR=/usr/home/fdrake/tmp + +TARGET="$TARGETHOST:$TARGETDIR" ADDRESSES='python-dev@python.org doc-sig@python.org python-list@python.org' @@ -68,7 +71,7 @@ make --no-print-directory bziphtml || exit $? RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'` PACKAGE="html-$RELEASE.tar.bz2" scp "$PACKAGE" tools/update-docs.sh $TARGET/ || exit $? -ssh python.sourceforge.net tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $? +ssh "$TARGETHOST" tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $? if $ANNOUNCE ; then sendmail $ADDRESSES <