src/hg/utils/automation/makeGenomeDb.pl 1.22

1.22 2009/06/08 18:38:57 hiram
Generalize the ssh command to avoid questions to the shell for new hosts
Index: src/hg/utils/automation/makeGenomeDb.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/automation/makeGenomeDb.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -B -U 4 -r1.21 -r1.22
--- src/hg/utils/automation/makeGenomeDb.pl	12 May 2009 03:16:20 -0000	1.21
+++ src/hg/utils/automation/makeGenomeDb.pl	8 Jun 2009 18:38:57 -0000	1.22
@@ -515,9 +515,9 @@
       "Check for overrepresented round numbers.\n";
     warn "See usage messages of hgFakeAgp and faGapSizes for more hints.\n\n";
     my $fileServer = &HgAutomate::chooseFileServer($topDir);
     print "\n";
-    &HgAutomate::run("ssh -x $fileServer nice " .
+    &HgAutomate::run("$HgAutomate::runSSH $fileServer nice " .
 		     "twoBitToFa $topDir/$db.unmasked.2bit stdout " .
 		     "\\| faGapSizes stdin -niceSizes=" .
 		     "10,20,25,50,100,1000,2000,5000,10000,20000,50000");
     print "\n";
@@ -824,9 +824,9 @@
     $taxId);
 _EOF_
   ;
   close($fh);
-  my $centDbSql = "ssh -x $dbHost $HgAutomate::centralDbSql";
+  my $centDbSql = "$HgAutomate::runSSH $dbHost $HgAutomate::centralDbSql";
   &HgAutomate::run("$centDbSql < $dbDbInsert");
 
   # Add a row to defaultDb if this is the first usage of $genome.
   my $sql = "'select count(*) from defaultDb where genome = \"$genome\"'";
@@ -1259,9 +1259,9 @@
 				      $runDir, $whatItDoes, $CONFIG);
 
   $bossScript->add(<<_EOF_
 # These directories are necessary for running make in trackDb:
-$HgAutomate::cvs -q co -P \\
+$HgAutomate::cvs -Q co -P \\
   kent/src/inc kent/src/hg/lib kent/src/hg/makeDb/trackDb
 
 cd kent/src/hg/makeDb/trackDb