aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-05-12 16:17:21 +0000
committerChris Rees <crees@FreeBSD.org>2013-05-12 16:17:21 +0000
commit9644ddfac7d6244e84621ebe380276b3bc86de7e (patch)
tree5af7e29134ef1197e604c8b546a535a5cea43f40 /Tools/scripts
parent5fdd5450134ce252f349879e217d2174f0fbcd95 (diff)
downloadports-9644ddfac7d6244e84621ebe380276b3bc86de7e.tar.gz
ports-9644ddfac7d6244e84621ebe380276b3bc86de7e.zip
Notes
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/addport3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index c805c92dd0ee..7759ccaf250d 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -251,10 +251,11 @@ foreach my $thisdir (@dirs) {
# Do commitfile checking but only if the user did not request automatic filling.
if (!$autofill) {
if (-f $c) {
- system("$mv $c $tmpdir/commitfile") or errx(1, "Oops, can't move commitfile!");
+ system("$mv $c $tmpdir/commitfile") && errx(1, "Oops, can't move commitfile!");
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 = "--file $tmpdir/commitfile";
}
} else {
## Set up the autofill file.