Skip to content

Commit

Permalink
Have condor-cron.sh source /etc/sysconfig/condor-cron where we will d…
Browse files Browse the repository at this point in the history
…o any

necessary dynamic environment setup.  Currently this environment setup
consists of adding non-standard Condor installations to the PATH


git-svn-id: https://vdt.cs.wisc.edu/svn/software/condor-cron/trunk@14017 4e558342-562e-0410-864c-e07659590f8c
  • Loading branch information
Scot Kronenfeld committed Jan 20, 2012
1 parent 29df0d2 commit 286ffad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libexec/condor-cron.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/sh

# Pick up any configuration for condor-cron from /etc/sysconfig.
# The big thing we are looking for is that Condor can sometimes be installed
# into a non-standard location and we need to set it up in the PATH
if [ -f /etc/sysconfig/condor-cron ]; then
. /etc/sysconfig/condor-cron
fi

CONDOR_CONFIG=/etc/condor-cron/condor_config
export CONDOR_CONFIG

0 comments on commit 286ffad

Please sign in to comment.