On 3/1/21 8:22 PM, Sergey Poznyakoff wrote:
> Actually, the main point is to avoid destroying the existing file with
> a meaningless dangling symlink. That being said, I have nothing
> against checking for existence of "${PACKAGE}.html" as well.
Looks good to me thanks.
Have a nice day,
Berny
Hi Bernhard,
> If the point is to avoid a dangling symlink, then shouldn't this
> (also) check for "${PACKAGE}.html"?
Actually, the main point is to avoid destroying the existing file with
a meaningless dangling symlink. That being said, I have nothing
against checking for existence of "${PACKAG
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 ind
When generating html output, texi2html 5.0 creates index.html
file, instead of $PORJECT.html. Don't overwrite it with dangling
symlink.
---
build-aux/gendocs.sh | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/build-aux/gendocs.sh b/build-aux/gendocs.sh
index 1872de9..082