[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 6/8] builtins/source: use source path in isolated mode
From: |
Chet Ramey |
Subject: |
Re: [PATCH v2 6/8] builtins/source: use source path in isolated mode |
Date: |
Wed, 15 May 2024 09:28:40 -0400 |
User-agent: |
Mozilla Thunderbird |
On 5/14/24 5:26 PM, Koichi Murase wrote:
I see. I was assuming that users who want to completely turn off the
new feature would set an empty BASH_SOURCE_PATH (for both cases
`source name' and `source -i name').
If you don't want to use BASH_SOURCE_PATH, don't set BASH_SOURCE_PATH,
and unset it explicitly if you want to be sure.
`BASH_SOURCE_PATH=' could just mean
the current working directory skipping steps 1 and 2.
That is consistent with other PATH-like variables.
--
``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/
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, (continued)
[PATCH v2 6/8] builtins/source: use source path in isolated mode, Matheus Afonso Martins Moreira, 2024/05/13
Re: [PATCH v2 6/8] builtins/source: use source path in isolated mode, Chet Ramey, 2024/05/14
Re: [PATCH v2 6/8] builtins/source: use source path in isolated mode, Koichi Murase, 2024/05/14
Re: [PATCH v2 6/8] builtins/source: use source path in isolated mode,
Chet Ramey <=
Re: [PATCH v2 6/8] builtins/source: use source path in isolated mode, Koichi Murase, 2024/05/15
[PATCH v2 7/8] variables: define default BASH_SOURCE_PATH, Matheus Afonso Martins Moreira, 2024/05/13
[PATCH v2 8/8] shell: restrict BASH_SOURCE_PATH when appropriate, Matheus Afonso Martins Moreira, 2024/05/13