Commit 655e4aee by Joseph Myers Committed by Joseph Myers

update_web_docs: Don't strip leading -r from argument following -r...

	* 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.

From-SVN: r40590
parent 832013cd
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
......
......@@ -21,7 +21,7 @@ while [ $# -gt 0 ]; do
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 @@ while [ $# -gt 0 ]; do
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment