bug-bash
[Top][All Lists]
Advanced

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



reply via email to

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