|
From: | Léa Gris |
Subject: | Re: proposed BASH_SOURCE_PATH |
Date: | Thu, 20 Jun 2024 11:31:47 +0200 |
User-agent: | Mozilla Thunderbird |
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
[Prev in Thread] | Current Thread | [Next in Thread] |