Support tools that don't have u@h syntax but h -l u.

Submitted by:	eivind
This commit is contained in:
Will Andrews
2002-01-30 15:10:56 +00:00
parent 1f2ebcefe9
commit 71c4172171
+1 -1
View File
@@ -85,7 +85,7 @@ $tmp = $tmp2 = $offset = 0;
chomp(my $myhost = lc(hostname()));
if ($myhost ne lc($h)) {
$ssh = "$ENV{CVS_RSH} $u\@$h";
$ssh = "$ENV{CVS_RSH} $h -l $u";
$repo = "$u\@$h:/home/ncvs" if !$ENV{ADDPCVSROOT};
} else {
$ssh = "";