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 |