summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/summarize
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 17:09:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 17:09:16 +0000
commite275cabc4f24658f1d07a497f55c996f73afcdc7 (patch)
treeb1036258e5f51e2173eaa1f7e801c6e327d8b625 /doc/posix1003.1/summarize
parent91a49b38b8ae42d0d14b9c141dcd76c6c75d89f9 (diff)
downloadrtems-e275cabc4f24658f1d07a497f55c996f73afcdc7.tar.bz2
Patch rtemsdoc-4.5.0-rc-12-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that makes the following changes: * Don't use a temporary file for ch19.texi anymore * pass all files to be handled by summarize as commandline arguments * Remove a dangling empty first line in posix1003_1.texi (texi2html (!) expects \input texinfo on the first line)
Diffstat (limited to '')
-rwxr-xr-xdoc/posix1003.1/summarize7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/posix1003.1/summarize b/doc/posix1003.1/summarize
index fc8631894a..a092b4a71c 100755
--- a/doc/posix1003.1/summarize
+++ b/doc/posix1003.1/summarize
@@ -182,8 +182,11 @@ summarize_chapter()
fi
}
-chapters="ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t \
- ch09.t ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t"
+if test $# -lt 1; then
+ echo "Missing arguments"
+ exit 1
+fi
+chapters="$*"
# go through the chapters one at a time
for chapter in ${chapters}