bug-bash
[Top][All Lists]
Advanced

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

Re: How to use bash loadables in a portable manner?


From: Eli Schwartz
Subject: Re: How to use bash loadables in a portable manner?
Date: Sun, 25 Apr 2021 11:53:41 -0400

On 4/25/21 11:44 AM, Eli Schwartz wrote:
>> This commit to the development branch adds a default value for
>> `BASH_LOADABLES_PATH':
>>
>> https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=fb4ddc2d2b66b776e013ddadfce86270a71c323a
>>
>> So in the next version you will be able to use them in a portable manner.
>
> Oh hmm, thanks. Did not notice this.

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=...

It feels like this could probably stand to be a teensy bit smarter at
autodetecting unusual prefixes.

-- 
Eli Schwartz
Arch Linux  Bug Wrangler and Trusted User

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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