From 2dc2732c98aabc7724bd973735ca016efc023276 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sun, 23 Feb 2003 20:06:06 +0000 Subject: Another try at fixing the "adding to CVSROOT/modules from remote hosts (non-freefall)" bug: add '-A' argument to ssh(1) command line for accessing host cointaining modules file. This should fix the bug for ssh-agent(1) users. Others can just switch to using ssh-agent(1). Approved by: will (maintainer) --- Tools/scripts/addport | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/scripts/addport') diff --git a/Tools/scripts/addport b/Tools/scripts/addport index d95ce016f79e..33cb493c893b 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -103,7 +103,7 @@ $moduleshost = "freefall.freebsd.org" if ($moduleshost eq ""); # SSH is always required nowadays... ncvs.FreeBSD.org isn't shell accessible. $ssh = "$ENV{CVS_RSH} $h -l $u"; -$sshmod = "$ENV{CVS_RSH} $moduleshost -l $u"; +$sshmod = "$ENV{CVS_RSH} -A $moduleshost -l $u"; $repo= "$u\@$h:/home/ncvs" if !$ENV{ADDPCVSROOT}; $repo = "$ENV{ADDPCVSROOT}" if $ENV{ADDPCVSROOT}; -- cgit v1.2.3