bug-texinfo
[Top][All Lists]
Advanced

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

Re: Directory names hard-coded in Texinfo Perl scripts


From: Eli Zaretskii
Subject: Re: Directory names hard-coded in Texinfo Perl scripts
Date: Fri, 17 Dec 2021 21:09:46 +0200

> Date: Fri, 17 Dec 2021 09:28:42 -0800
> Cc: bug-texinfo@gnu.org
> From: Per Bothner <per@bothner.com>
> 
> On 12/17/21 04:57, Eli Zaretskii wrote:
> > I mean relative to the directory of the makeinfo script, which is
> > installed in ${prefix}/bin (at least by default).
> 
> Right, but the problem is how does the script find out the directory
> it is running in?

Not the directory it is running in, the directory where its file
lives, I presume?

> It is non-trivial problem, which is why the Perl FindBin
> module and the C whoami package exist.

Yes, it could be non-trivial.  But Texinfo 6.6 somehow did the trick.



reply via email to

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