|
From: | Per Bothner |
Subject: | Re: Directory names hard-coded in Texinfo Perl scripts |
Date: | Fri, 17 Dec 2021 09:28:42 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
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? It is non-trivial problem, which is why the Perl FindBin module and the C whoami package exist. -- --Per Bothner per@bothner.com http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |