You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In mara.sh an maybe in other scripts, a lot of cd and ../../ are used referring from the root of the project ignoring where the script was called from, despite of being ugly, this force the user to change his current directory to the root directory of mara project. So the script can't be launched from everywhere else.
In
mara.sh
an maybe in other scripts, a lot ofcd
and../../
are used referring from the root of the project ignoring where the script was called from, despite of being ugly, this force the user to change his current directory to the root directory of mara project. So the script can't be launched from everywhere else.There is an article The Right Way to Get the Directory of a bash Script which seems to have a better approach for calling resources. It would be great to apply that solution.
The text was updated successfully, but these errors were encountered: