On 3/1/21 3:14 PM, Sergey Poznyakoff wrote:
> When generating html output, texi2html 5.0 creates index.html
> file, instead of $PORJECT.html.  Don't overwrite it with dangling
> symlink.

> -    ln -sf ${PACKAGE}.html index.html
> +    if [ ! -f index.html ]; then
> +     ln -sf ${PACKAGE}.html index.html
> +    fi

If the point is to avoid a dangling symlink, then shouldn't this
(also) check for "${PACKAGE}.html"?

Have a nice day,
Berny

Reply via email to