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
By convention source looks in $PATH for a script when calling
source ratpac.sh
This is intended for the command. Right now ratpac.sh lives in a place added to path by ratpac.sh so if a user tries to load a new version of ratpac (often the case) then if they do
source ratpac.sh
nothing will change, but if they do
source ./ratpac.sh
from within that new ratpac directory, they will correctly source the new version of rat-pac.
Possible solutions:
Educate everyone on correct usage of source.
Remove ratpac.sh from $PATH.
Note: geant4-config and thisroot.sh both live in $PATH as well so we are consistent with those programs already.
The text was updated successfully, but these errors were encountered:
By convention
source
looks in$PATH
for a script when callingsource ratpac.sh
This is intended for the command. Right now
ratpac.sh
lives in a place added to path byratpac.sh
so if a user tries to load a new version of ratpac (often the case) then if they dosource ratpac.sh
nothing will change, but if they do
source ./ratpac.sh
from within that new ratpac directory, they will correctly source the new version of rat-pac.
Possible solutions:
source
.ratpac.sh
from$PATH
.Note:
geant4-config
andthisroot.sh
both live in$PATH
as well so we are consistent with those programs already.The text was updated successfully, but these errors were encountered: