diff options
Diffstat (limited to 'doc/stdlib/make-library-index')
-rwxr-xr-x | doc/stdlib/make-library-index | 2 |
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 |