Open bdorney opened 7 years ago
Right now executable python scripts are not in $PATH and as a consequence they have to be executed by physical path, e.g.:
$PATH
% python2.7 python/computeGainMap.py <args>
Instead of location indep way, e.g.:
% computeGainMap.py <args>
Want to be able to use executables in an independent way.
Have to reference executables by physical path.
Adding to scripts/setup_CMS_GEM.sh after L15 the following line:
scripts/setup_CMS_GEM.sh
export PATH=$PATH:$FRAMEWORK_BASE/python
Brief summary of issue
Right now executable python scripts are not in
$PATH
and as a consequence they have to be executed by physical path, e.g.:Instead of location indep way, e.g.:
Types of issue
Expected Behavior
Want to be able to use executables in an independent way.
Current Behavior
Have to reference executables by physical path.
Possible Implementation
Adding to
scripts/setup_CMS_GEM.sh
after L15 the following line: