File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,13 @@ TARGET="$TARGETHOST:$TARGETDIR"
1010
11111212
13- VERSION=` echo ' $Revision$' | sed ' s/[$]Revision: \(.*\) [$]/\1/' `
13+ TOOLDIR=" ` dirname $0 ` "
14+ VERSION=` $TOOLDIR /getversioninfo`
15+
16+ # Set $EXTRA to something non-empty if this is a non-trunk version:
1417EXTRA=` echo " $VERSION " | sed ' s/^[0-9][0-9]*\.[0-9][0-9]*//' `
15- if [ " $EXTRA " ] ; then
18+
19+ if echo " $EXTRA " | grep -q ' [.]' ; then
1620 DOCLABEL=" maintenance"
1721 DOCTYPE=" maint"
1822else
6872
6973# now in .../Doc/
7074make --no-print-directory bziphtml || exit $?
71- RELEASE=` grep ' ^RELEASE=' Makefile | sed ' s|RELEASE=||' `
72- PACKAGE=" html-$RELEASE .tar.bz2"
75+ PACKAGE=" html-$VERSION .tar.bz2"
7376scp " $PACKAGE " tools/update-docs.sh $TARGET / || exit $?
7477ssh " $TARGETHOST " tmp/update-docs.sh $DOCTYPE $PACKAGE ' &&' rm tmp/update-docs.sh || exit $?
7578
You can’t perform that action at this time.
0 commit comments