Skip to content
Snippets Groups Projects
Commit b7dbd184 authored by tjc's avatar tjc
Browse files

set max number of loops to wait for file

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@13777 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 3d66ffa4
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ run_one_prog () {
fi
#### end of changes
while [ ! -f $OUTPUT_FILE ]; do sleep 2; done
count=0; while (test ! -f $OUTPUT_FILE) && (test $count -lt 1000) ; do sleep 2; count+=1; done
if [ -s ${PROG}_errors.new ]
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment