Re: proposed BASH_SOURCE_PATH

2024-06-20 Thread Léa Gris

Le 20/06/2024 à 05:25, Oğuz écrivait :


What I'm saying there is name it main and execute like `./main'. I'm not
against having a variable that's automatically populated with the parent
directory of the source script, I just don't need it and it wasn't what we
were discussing.


Would it be a valid option, then to make BASH_SOURCE contain the real 
path in all circumstances?


--
Léa Gris



Re: proposed BASH_SOURCE_PATH

2024-06-20 Thread Oğuz
On Thursday, June 20, 2024, Léa Gris  wrote:
>
> Would it be a valid option, then to make BASH_SOURCE contain the real path
> in all circumstances?
>

 Sounds good to me.


-- 
Oğuz