src/utils/qa/checkMachineName.csh 1.6
1.6 2010/01/22 21:17:19 kuhn
fixed getAssemblies.csh to work with RR machines and several other programs that it depends on. it broke when we went to a single mysql machine and genbank dumps only grab from hgnfs1
Index: src/utils/qa/checkMachineName.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/checkMachineName.csh,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 1000000 -r1.5 -r1.6
--- src/utils/qa/checkMachineName.csh 11 Apr 2009 00:37:01 -0000 1.5
+++ src/utils/qa/checkMachineName.csh 22 Jan 2010 21:17:19 -0000 1.6
@@ -1,51 +1,51 @@
#!/bin/tcsh
source `which qaConfig.csh`
#######################
#
# 01-07-2005
# checks if machine name is legitimate.
# gets the names of all databases that contain a given table
#
# Robert Kuhn
#
#######################
if ($#argv < 1 || $#argv > 3) then
echo ""
echo " checks if machine names are legitimate."
echo " no output if machine is ok."
echo
echo " usage: machinename [machine2] [machine3]"
echo ""
exit 1
endif
-set allMachines=" hgwdev hgwbeta hgw1 hgw2 hgw3 hgw4 hgw5 hgw6 hgw7 hgw8 "
+set allMachines=" hgwdev hgwbeta hgw1 hgw2 hgw3 hgw4 hgw5 hgw6 hgw7 hgw8 rr RR"
set mach1 = $argv[1]
echo $allMachines | grep -w "$mach1" > /dev/null
if ($status) then
echo "\n $mach1 is not a valid machine.\n"
exit 1
endif
if ($#argv > 1) then
set mach2 = $argv[2]
echo $allMachines | grep -w "$mach2" > /dev/null
if ($status) then
echo "\n $mach2 is not a valid machine.\n"
exit 1
endif
endif
if ($#argv == 3) then
set mach3 = $argv[3]
echo $allMachines | grep -w "$mach3" > /dev/null
if ($status) then
echo "\n $mach3 is not a valid machine.\n"
exit 1
endif
endif