diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-02 15:33:46 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-02 15:33:46 +0000 |
commit | dd5899bd4d4a710a06e8c3d72009eae50b4887ad (patch) | |
tree | b7cee8928d962dbdf367c3a867016426f821bfec /Tools/scripts | |
parent | ade035b084eb30b6c84b004150e9448460d9d38e (diff) |
Notes
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/addport | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport index ee5a873c697b..a733b5eb0ad8 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -103,7 +103,11 @@ $moduleshost = "freefall.freebsd.org" if ($moduleshost eq ""); # SSH is always required nowadays... pcvs.FreeBSD.org isn't shell accessible. $ssh = "$ENV{CVS_RSH} $h -l $u"; -$sshmod = "$ENV{CVS_RSH} -A $moduleshost -l $u"; +if ($myhost eq $moduleshost) { + $sshmod = ""; +} else { + $sshmod = "$ENV{CVS_RSH} -A $moduleshost -l $u"; +} $repo= "$u\@$h:/home/pcvs" if !$ENV{ADDPCVSROOT}; $repo = "$ENV{ADDPCVSROOT}" if $ENV{ADDPCVSROOT}; |