src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh 1.3
1.3 2009/10/19 23:10:18 angie
Fixed syntax error in case of multiple previous logfiles.
Index: src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 4 -r1.2 -r1.3
--- src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh 25 Sep 2009 17:48:07 -0000 1.2
+++ src/hg/utils/refreshNamedSessionCustomTracks/refreshSessionCtFilesInner.csh 19 Oct 2009 23:10:18 -0000 1.3
@@ -24,16 +24,16 @@
exit 1
endif
set strayLogs = `find $logDir -maxdepth 1 -name tmp\*.log`
-if ($strayLogs != "") then
+if ("$strayLogs" != "") then
echo "WARNING: stray log files (is a previous instance still running?)"
echo $strayLogs
uptime
endif
set strayOut = `find $tmpOut:h -maxdepth 1 -name ctDoNoRmNext\*`
-if ($strayOut != "") then
+if ("$strayOut" != "") then
echo "WARNING: stray temporary output files (is a previous instance still running?)"
echo $strayOut
uptime
endif