[Python-checkins] CVS: python/dist/src/Doc/tools push-docs.sh,1.5,1.6 update-docs.sh,1.5,1.6

Fred L. Drake fdrake@users.sourceforge.net
Thu, 12 Apr 2001 22:13:57 -0700


Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv11945

Modified Files:
	push-docs.sh update-docs.sh 
Log Message:

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.


Index: push-docs.sh
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/push-docs.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** push-docs.sh	2001/03/03 19:57:26	1.5
--- push-docs.sh	2001/04/13 05:13:55	1.6
***************
*** 29,35 ****
  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 $?
  
  Mail -s '[development doc updates]' $ADDRESSES <<EOF
--- 29,35 ----
  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 $PACKAGE '&&' rm tmp/update-docs.sh || exit $?
  
  Mail -s '[development doc updates]' $ADDRESSES <<EOF

Index: update-docs.sh
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/update-docs.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** update-docs.sh	2001/03/02 21:05:58	1.5
--- update-docs.sh	2001/04/13 05:13:55	1.6
***************
*** 12,18 ****
  fi
  
! UPDATES=$HOME/tmp/python-docs-update.tar.bz2
  
! cd /home/groups/python/htdocs
  rm -rf devel-docs || exit $?
  mkdir devel-docs || exit $?
--- 12,18 ----
  fi
  
! UPDATES="$HOME/tmp/$1"
  
! cd /home/groups/python/htdocs || exit $?
  rm -rf devel-docs || exit $?
  mkdir devel-docs || exit $?