There are several configuration files and bash scripts within our git repo code set that need to set directory paths. They should all root from where the repo is located. In other words, I put my repo at /home/userMe
but you put it at /home/userYou/code/
.
How can the bash scripts be structured such that they either:
- don't have to be edited to localized the root directory?
- or there is one script which is run first that localizes?