mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Fix -c option
PR: ports/178193 Submitted by: tota
This commit is contained in:
parent
5fdd545013
commit
9644ddfac7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317968
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user