This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Tweak to update_web_docs
- To: <gcc-patches at gcc dot gnu dot org>
- Subject: Tweak to update_web_docs
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sun, 18 Mar 2001 00:02:12 +0000 (GMT)
I've installed the following patch for a theoretical bug in
update_web_docs.
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/ChangeLog,v
retrieving revision 1.3
diff -u -r1.3 ChangeLog
--- ChangeLog 2001/03/17 23:05:06 1.3
+++ ChangeLog 2001/03/17 23:58:16
@@ -1,5 +1,9 @@
2001-03-17 Joseph S. Myers <jsm28@cam.ac.uk>
+ * update_web_docs: Don't strip leading -r from argument following
+ -r, or leading -d from argument following -d. Bug pointed out by
+ Matt Kraai.
+
* update_web_docs: Handle -r and -d options to generate docs for a
release or branch in a subdirectory. Determine names of G77 news
and bugs files and contributors file after updated docs have been
Index: update_web_docs
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/update_web_docs,v
retrieving revision 1.3
diff -u -r1.3 update_web_docs
--- update_web_docs 2001/03/17 23:05:06 1.3
+++ update_web_docs 2001/03/17 23:58:16
@@ -21,7 +21,7 @@
RELEASE="${1#-r}"
if [ -z "$RELEASE" ]; then
shift
- RELEASE="${1#-r}"
+ RELEASE="$1"
if [ -z "$RELEASE" ]; then
echo "No release specified with -r" >&2
exit 1
@@ -36,7 +36,7 @@
SUBDIR="${1#-d}"
if [ -z "$SUBDIR" ]; then
shift
- SUBDIR="${1#-d}"
+ SUBDIR="$1"
if [ -z "$SUBDIR" ]; then
echo "No subdirectory specified with -d" >&2
exit 1
--
Joseph S. Myers
jsm28@cam.ac.uk