Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ratpac.sh exists in path #54

Open
MorganAskins opened this issue Sep 18, 2019 · 0 comments
Open

ratpac.sh exists in path #54

MorganAskins opened this issue Sep 18, 2019 · 0 comments
Labels

Comments

@MorganAskins
Copy link
Contributor

MorganAskins commented Sep 18, 2019

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:

  1. Educate everyone on correct usage of source.
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant