aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-02-24 04:06:06 +0800
committerlioux <lioux@FreeBSD.org>2003-02-24 04:06:06 +0800
commitf08f109a595476f43d100174bff6931b06416707 (patch)
tree59a1d9d499aea7bf34135aceb60cff2fa0d64dae /Tools/scripts
parent679194310c3411d4188a93860bae56785114b713 (diff)
downloadfreebsd-ports-gnome-f08f109a595476f43d100174bff6931b06416707.tar.gz
freebsd-ports-gnome-f08f109a595476f43d100174bff6931b06416707.tar.zst
freebsd-ports-gnome-f08f109a595476f43d100174bff6931b06416707.zip
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)
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/addport2
1 files changed, 1 insertions, 1 deletions
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};