aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/stdlib/make-library-index
diff options
context:
space:
mode:
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