[Python-checkins] CVS: python/dist/src/Doc/tools push-docs.sh,1.11,1.12
Fred L. Drake
fdrake@users.sourceforge.net
Tue, 07 Aug 2001 22:41:04 -0700
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv30618/tools
Modified Files:
push-docs.sh
Log Message:
Add option to push the development docs to SF without announcing, for
when the changes are just too small.
Index: push-docs.sh
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/push-docs.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** push-docs.sh 2001/07/12 21:50:10 1.11
--- push-docs.sh 2001/08/08 05:41:01 1.12
***************
*** 19,22 ****
--- 19,23 ----
EXPLANATION=''
+ ANNOUNCE=true
while [ "$#" -gt 0 ] ; do
***************
*** 26,29 ****
--- 27,34 ----
shift 2
;;
+ -q)
+ ANNOUNCE=false
+ shift 1
+ ;;
-t)
DOCTYPE="$2"
***************
*** 67,71 ****
ssh python.sourceforge.net tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $?
! sendmail $ADDRESSES <<EOF
To: $ADDRESSES
From: "Fred L. Drake" <fdrake@acm.org>
--- 72,77 ----
ssh python.sourceforge.net tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $?
! if $ANNOUNCE ; then
! sendmail $ADDRESSES <<EOF
To: $ADDRESSES
From: "Fred L. Drake" <fdrake@acm.org>
***************
*** 78,80 ****
$EXPLANATION
EOF
! exit $?
--- 84,87 ----
$EXPLANATION
EOF
! exit $?
! fi