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

1.22 2009/06/08 18:38:58 hiram
Generalize the ssh command to avoid questions to the shell for new hosts
Index: src/hg/utils/automation/makeDownloads.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/automation/makeDownloads.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -B -U 4 -r1.21 -r1.22
--- src/hg/utils/automation/makeDownloads.pl	24 Apr 2009 00:21:50 -0000	1.21
+++ src/hg/utils/automation/makeDownloads.pl	8 Jun 2009 18:38:58 -0000	1.22
@@ -106,9 +106,9 @@
 #*** libify?
 sub dbHasTable {
   my ($dbHost, $db, $table) = @_;
   my $rows = `echo show tables like "'$table'" |
-              ssh -x $dbHost hgsql -N $db | wc -l`;
+              $HgAutomate::runSSH $dbHost hgsql -N $db | wc -l`;
   return ($rows > 0);
 } # dbHasTable