It is necessary for each bash file to know the location of this project's script's directory when it is sourced. This location should not be hard-coded as the project could be located in any arbitrary directory.
One possible solution might be to create an environment variable.
It is necessary for each bash file to know the location of this project's script's directory when it is sourced. This location should not be hard-coded as the project could be located in any arbitrary directory.
One possible solution might be to create an environment variable.