[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: |
Koichi Murase |
Subject: |
Re: [PATCH v2 6/8] builtins/source: use source path in isolated mode |
Date: |
Thu, 16 May 2024 00:35:51 +0900 |
2024年5月15日(水) 22:28 Chet Ramey <chet.ramey@case.edu>:
> 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.
I now agree.
[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