Attempt to defuse problems from developers who don't have the correct

ssh setup in order for addport to do CVSROOT/modules correctly.
This commit is contained in:
Will Andrews 2003-01-30 17:28:34 +00:00
parent 509bd8df77
commit c65c37a41b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74293

View file

@ -344,6 +344,8 @@ foreach my $thisdir (@dirs) {
chdir "$tmpdir/$category" or err(1, "$tmpdir/$category");
system("$cvs $n ci $commitfile Makefile $portname") && errx(1, "cvs commit failed, aborting.");
if (!$nomodules && ($n ne "-n")) {
print "*** If you have problems with the below modulesupdate command, PLEASE\n";
print "*** ensure that you can login to $h from $moduleshost\n!";
system("$sshmod env CVSROOT=$repo $perl /usr/local/bin/modulesupdate $module ports/$category/$portname") && errx(1, "adding port to modules failed, aborting.");
}
}