239 |
|
|
240 |
|
txt += 'func_exit() { \n' |
241 |
|
txt += self.wsExitFunc_common() |
242 |
< |
|
242 |
> |
txt += '#Check for stdout/err in new location as of condor 7.7\n' |
243 |
> |
txt += ' if [ -s _condor_stdout ]; then\n' |
244 |
> |
txt += ' echo "Found _condor_stdout/err, rename for OSB"\n' |
245 |
> |
txt += ' cp -pfv _condor_stdout CMSSW_${NJob}.stdout\n' |
246 |
> |
txt += ' cp -pfv _condor_stderr CMSSW_${NJob}.stderr\n' |
247 |
> |
txt += ' fi\n' |
248 |
|
txt += ' tar zcvf ${out_files}.tgz ${final_list}\n' |
249 |
|
txt += ' tmp_size=`ls -gGrta ${out_files}.tgz | awk \'{ print $3 }\'`\n' |
250 |
|
txt += ' rm ${out_files}.tgz\n' |