Compare commits

..

3 commits

Author SHA1 Message Date
96a275a8a6 Release 1.1.1
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-06-01 22:08:42 +02:00
2eaa526d66 Add trailing slash to --datadir, if missing.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-06-01 22:07:55 +02:00
dedda1e419 Warn for missing .rc file.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-06-01 22:07:48 +02:00
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,6 @@
yapfaq 1.2.0 (unreleased) yapfaq 1.1.1 (2026-06-01)
* Warn for missing .rc file.
* Add trailing slash to --datadir, if missing.
yapfaq 1.1.0 (2026-02-13) yapfaq 1.1.0 (2026-02-13)
* --test: Set Supersedes and don't modify Message-ID if -o is set. * --test: Set Supersedes and don't modify Message-ID if -o is set.

View file

@ -19,7 +19,7 @@
# It can be redistributed and/or modified under the same terms under # It can be redistributed and/or modified under the same terms under
# which Perl itself is published. # which Perl itself is published.
my $VERSION = "1.2.0-pre"; my $VERSION = "1.1.1";
(my $NAME = $0) =~ s#^.*/##; (my $NAME = $0) =~ s#^.*/##;
use utf8; use utf8;
@ -79,6 +79,8 @@ if (defined($RCFILE)) {
} }
} }
close($RCFILE); close($RCFILE);
} else {
warn "W: No .rc file found.\n";
} }
# these env-vars have higher priority (order is important) # these env-vars have higher priority (order is important)
@ -118,6 +120,9 @@ if ($OptSimulation) {
# -t implies -o if -n is not set # -t implies -o if -n is not set
$OptOutput = 1 if $OptTest && !$OptNewsgroup; $OptOutput = 1 if $OptTest && !$OptNewsgroup;
# add trailing slash to $Config{'datadir'}, if necessary
$Config{'datadir'} .= '/' if $Config{'datadir'} !~ /\/$/;
### create list of @Projects from $Config{'datadir'} unless -p is set ### create list of @Projects from $Config{'datadir'} unless -p is set
my @Projects; my @Projects;
if (!$OptProject) { if (!$OptProject) {