Skip to content

Commit

Permalink
Set default bin paths to /usr/bin
Browse files Browse the repository at this point in the history
Admins should configure (manually or via osg-configure) this to a path
and we shouldn't support shell evaluation in config:

1. Avoid $PATH tomfoolery
2. Why add the overhead of `which`?
  • Loading branch information
brianhlin committed Jul 22, 2017
1 parent 9bfeb4f commit 429a2d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/blah.config.template
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ blah_require_proxy_on_submit=

#Path where PBS executables are located
# NOTE: this path is computed many times; I worry about the overhead here. -BB, 12-13-2012
pbs_binpath=`which qsub 2>/dev/null|sed 's|/[^/]*$||'`
pbs_binpath=/usr/bin

#Path where the PBS logs are located ($pbs_spoolpath/server_logs)
#pbs_spoolpath=
Expand All @@ -105,7 +105,7 @@ pbs_pro=no
##LSF common variables

#Path where LSF executables are located
lsf_binpath=`which bsub 2>/dev/null|sed 's|/[^/]*$||'`
lsf_binpath=/usr/bin

#Path where the LSF conf file is located ($lsf_confpath/lsf.conf)
lsf_confpath=
Expand Down Expand Up @@ -285,7 +285,7 @@ tracejob_max_output=
##Condor

#condor bin location
condor_binpath=`which condor_submit 2>/dev/null|sed 's|/[^/]*$||'`
condor_binpath=/usr/bin

#path to condor_config
#export CONDOR_CONFIG="/etc/condor/condor_config"
Expand Down

0 comments on commit 429a2d5

Please sign in to comment.