Skip to content

Commit

Permalink
fixing header
Browse files Browse the repository at this point in the history
  • Loading branch information
RoanKanninga committed Apr 7, 2016
1 parent 639d434 commit 8ceabc9
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ set -u
function errorExitandCleanUp()
{
echo "TRAPPED"
printf "${taskId}\n" > /groups/umcg-gaf/tmp05/logs/${project}.failed
tail -50 ${taskId}.err >> /groups/umcg-gaf/tmp05/logs/${project}.failed
rm /groups/umcg-gaf/tmp05/tmp/${project}/*/tmp_${taskId}*
printf "${taskId}\n" > /groups/umcg-gaf/${tmpName}/logs/${project}.failed
if [ -f ${taskId}.err ]
then
tail -50 ${taskId}.err >> /groups/umcg-gaf/${tmpName}/logs/${project}.failed
fi
rm -rf /groups/umcg-gaf/${tmpName}/tmp/${project}/*/tmp_${taskId}*
}

declare MC_tmpFolder="tmpFolder"
Expand Down

0 comments on commit 8ceabc9

Please sign in to comment.