diff options
author | alane <alane@FreeBSD.org> | 2002-11-19 22:30:54 +0800 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2002-11-19 22:30:54 +0800 |
commit | 776fa0081f41339cf6346b668644d27f812e0148 (patch) | |
tree | fcc366a9d33a9bafd33bb40f9f861e11da1298e2 /Tools/scripts | |
parent | ea91b6784bc3082f482df48018906ea0f5960967 (diff) | |
download | freebsd-ports-gnome-776fa0081f41339cf6346b668644d27f812e0148.tar.gz freebsd-ports-gnome-776fa0081f41339cf6346b668644d27f812e0148.tar.zst freebsd-ports-gnome-776fa0081f41339cf6346b668644d27f812e0148.zip |
unbroke addport by petef
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/addport | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport index 845ac97a89d7..bb52b9285991 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -289,6 +289,7 @@ foreach my $thisdir (@dirs) { print "\nRemember, you asked to use a commit file to read for the commit log.\n"; print "This means you'll get a message saying the log message was unchanged or\n"; print "not specified. Just tell it to continue and it will be committed.\n\n"; + $commitfile = "-F $tmpdir/commitfile"; } print "We're ready to commit.\n"; @@ -339,7 +340,7 @@ foreach my $thisdir (@dirs) { # commit the actual port. chdir "$tmpdir/$category" or err(1, "$tmpdir/$category"); - system("$cvs $n ci -F $tmpdir/commitfile Makefile $portname") && errx(1, "cvs commit failed, aborting."); + system("$cvs $n ci $commitfile Makefile $portname") && errx(1, "cvs commit failed, aborting."); if (!$nomodules && ($n ne "-n")) { system("$sshmod env CVSROOT=$repo $perl /usr/local/bin/modulesupdate $module ports/$category/$portname") && errx(1, "adding port to modules failed, aborting."); } |