aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/stdlib/make-library-index
diff options
context:
space:
mode:
authorGravatar glondu <glondu@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-26 12:00:55 +0000
committerGravatar glondu <glondu@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-26 12:00:55 +0000
commit11a8d339a71b22a9ac178c87968a41e30ceac8fe (patch)
tree62c319c035c2ec41dc569ddeaa10a3e83c17511e /doc/stdlib/make-library-index
parent06baeebb74a6dd87eb9778a3c6c72c22c101eca8 (diff)
Fix bashism in doc generation.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10986 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc/stdlib/make-library-index')
-rwxr-xr-xdoc/stdlib/make-library-index2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdlib/make-library-index b/doc/stdlib/make-library-index
index a4aad6c90..adf57e44c 100755
--- a/doc/stdlib/make-library-index
+++ b/doc/stdlib/make-library-index
@@ -21,7 +21,7 @@ for k in $LIBDIRS; do
grep -q theories/$k/$b.v tmp
a=$?
if [ $a = 0 ]; then
- p=${k//\//.}
+ p=`echo $k | sed 's:/:.:g'`
sed -e "s:theories/$k/$b.v:<a href=\"Coq.$p.$b.html\">$b</a>:g" tmp > tmp2
mv -f tmp2 tmp
else