Skip to content

Commit

Permalink
Merge pull request #248 from RoanKanninga/master
Browse files Browse the repository at this point in the history
fixing header
  • Loading branch information
BenjaminsM committed Apr 7, 2016
2 parents f6fdd0f + 8ceabc9 commit 378612a
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 378612a

Please sign in to comment.