src/hg/utils/automation/HgRemoteScript.pm 1.2

1.2 2009/06/08 18:40:49 hiram
Generalize the ssh command to avoid questions to the shell for new hosts
Index: src/hg/utils/automation/HgRemoteScript.pm
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/automation/HgRemoteScript.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/hg/utils/automation/HgRemoteScript.pm	9 Oct 2006 20:44:34 -0000	1.1
+++ src/hg/utils/automation/HgRemoteScript.pm	8 Jun 2009 18:40:49 -0000	1.2
@@ -74,9 +74,9 @@
   confess "Must have no arguments" if (scalar(@_) > 0);
   $this->{'hasBeenExecuted'} = 1;
   close($this->{'fh'});
   &HgAutomate::run("chmod a+x $this->{fileName}");
-  &HgAutomate::run("ssh -x $this->{runHost} nice $this->{fileName}");
+  &HgAutomate::run("$HgAutomate::runSSH $this->{runHost} nice $this->{fileName}");
 }
 
 # perl packages need to end by returning a positive value:
 1;