From: Fred Drake Date: Fri, 13 Apr 2001 05:13:55 +0000 (+0000) Subject: Update the helper scripts that push development docs to SourceForge; X-Git-Tag: v2.1c1~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1f3ed6b5854208cea73de1fad1d9bd9552c8059;p=thirdparty%2FPython%2Fcpython.git Update the helper scripts that push development docs to SourceForge; this version avoids having to build a separate authenticated connection to push the update-docs.sh script to SF. --- diff --git a/Doc/tools/push-docs.sh b/Doc/tools/push-docs.sh index 0703d11000c7..c227bcf4ccc6 100755 --- a/Doc/tools/push-docs.sh +++ b/Doc/tools/push-docs.sh @@ -28,9 +28,9 @@ cd .. make --no-print-directory || exit $? make --no-print-directory bziphtml || exit $? RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'` -scp "html-$RELEASE.tar.bz2" $TARGET/python-docs-update.tar.bz2 || exit $? -scp tools/update-docs.sh $TARGET/update-docs.sh || exit $? -ssh python.sourceforge.net 'tmp/update-docs.sh && rm tmp/update-docs.sh' || exit $? +PACKAGE="html-$RELEASE.tar.bz2" +scp "$PACKAGE" tools/update-docs.sh $TARGET/ || exit $? +ssh python.sourceforge.net tmp/update-docs.sh $PACKAGE '&&' rm tmp/update-docs.sh || exit $? Mail -s '[development doc updates]' $ADDRESSES <