ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/SchedulerCondor.py
(Generate patch)

Comparing COMP/CRAB/python/SchedulerCondor.py (file contents):
Revision 1.5 by ewv, Thu May 29 19:18:49 2008 UTC vs.
Revision 1.6 by ewv, Thu May 29 19:20:40 2008 UTC

# Line 104 | Line 104 | class SchedulerCondor(SchedulerLocal) :
104  
105      txt += 'middleware='+self.name()+' \n'
106      txt += """
107 <      if [ $_CONDOR_SCRATCH_DIR ] && [ -d $_CONDOR_SCRATCH_DIR ]; then
108 <          ORIG_WD=`pwd`
109 <          echo "Change from $ORIG_WD to Condor scratch directory: $_CONDOR_SCRATCH_DIR"
110 <          if [ -e ../default.tgz ] ;then
111 <            echo "Found ISB in parent directory (Local Condor)"
112 <            cp ../default.tgz $_CONDOR_SCRATCH_DIR
113 <          fi
114 <          cd $_CONDOR_SCRATCH_DIR
115 <      fi
116 <      """
107 > if [ $_CONDOR_SCRATCH_DIR ] && [ -d $_CONDOR_SCRATCH_DIR ]; then
108 >    ORIG_WD=`pwd`
109 >    echo "Change from $ORIG_WD to Condor scratch directory: $_CONDOR_SCRATCH_DIR"
110 >    if [ -e ../default.tgz ] ;then
111 >      echo "Found ISB in parent directory (Local Condor)"
112 >      cp ../default.tgz $_CONDOR_SCRATCH_DIR
113 >    fi
114 >    cd $_CONDOR_SCRATCH_DIR
115 > fi
116 > """
117  
118      return txt

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines