[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use bash loadables in a portable manner?
From: |
Chet Ramey |
Subject: |
Re: How to use bash loadables in a portable manner? |
Date: |
Sun, 25 Apr 2021 12:40:43 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 |
On 4/25/21 11:53 AM, Eli Schwartz wrote:
Interestingly, it doesn't seem to be including the default loadablesdir
defined in Makefile.inc and bash.pc, but hardcodes several paths used in
common configurations to be overridden in a similar manner to
-DDEFAULT_PATH_VALUE=...
The first path element corresponds to the default loadablesdir as
distributed.
It feels like this could probably stand to be a teensy bit smarter at
autodetecting unusual prefixes.
Maybe. Or maybe we wait to see if it's a problem before we rush to try
and fix it.
Distributions always have the option of supplying a default value for
BASH_LOADABLES_DIR in one or more startup files.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/