src/utils/qa/runJoiner.csh 1.14

1.14 2009/05/18 23:37:15 rhead
Added an onintr trap and label so that temp files will be removed if the script is killed prematurely.
Index: src/utils/qa/runJoiner.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/runJoiner.csh,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -B -U 4 -r1.13 -r1.14
--- src/utils/qa/runJoiner.csh	11 Apr 2009 00:37:05 -0000	1.13
+++ src/utils/qa/runJoiner.csh	18 May 2009 23:37:15 -0000	1.14
@@ -9,8 +9,10 @@
 #  Runs joiner check, finding all identifiers for a table.
 #
 ################################
 
+onintr cleanup
+
 set db=""
 set table=""
 set range=""
 set joinerPath=""
@@ -141,7 +143,7 @@
   echo "running -times flag\n"
   nice joinerCheck $range -times $joinerFile
 endif
 
-
+cleanup:
 rm -f xxIDxx
 rm -fr xxJoinDirxx