[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: |
Wed, 15 May 2024 06:29:15 +0900 |
2024年5月15日(水) 5:16 Chet Ramey <chet.ramey@case.edu>:
> On 5/13/24 10:53 PM, Matheus Afonso Martins Moreira wrote:
> >> I think we should restrict the search in
> >> BASH_SOURCE_PATH and shouldn't fall back to local files.
> >
> > I concur but thought it'd be wise to discuss it first so I left it in.
>
> Searching the current directory is the existing behavior (albeit when using
> PATH) when not in posix mode.
I agree that we should fall back to the files in the current working
directory for `source name'. However, in the above, I was talking
about the behavior of the suggested option to turn off the fallback.
[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, 2024/05/15
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