bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texi2dvi is a bash script, not a Bourne shell script


From: Gavin Smith
Subject: Re: texi2dvi is a bash script, not a Bourne shell script
Date: Wed, 1 Jul 2015 21:43:53 +0100

On 1 July 2015 at 08:49, Prof Brian Ripley <address@hidden> wrote:
> On Solaris 10, installed from the sources:
>
> swift-9% texi2dvi --version
> texi2dvi (GNU Texinfo 6.0) 6363
>
> and any invocation gives
>
> /usr/local/bin/texi2dvi: BSTINPUTS: not found

Many thanks for the report; I managed to replicate this myself on a
Solaris 10 system.

The problem appears to be the attempt at providing a "local" function
for shells that don't have this. When I remove the uses of "local"
from texi2dvi it runs fine. In this error message, IFS was empty from
findprog, leading to a failed attempt to iterate over space-separated
values in a stored variable. When this was fixed there were other
failures because of "local".

I seem to remember there was something wrong about the "local"
function, but I can't remember what it was. But we may as well rip out
the uses of local anyway, as it isn't adding anything. Okay Karl?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]