Add trailing slash to --datadir, if missing.
Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
dedda1e419
commit
2eaa526d66
2 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
yapfaq 1.1.1 (unreleased)
|
||||
* Warn for missing .rc file.
|
||||
* Add trailing slash to --datadir, if missing.
|
||||
|
||||
yapfaq 1.1.0 (2026-02-13)
|
||||
* --test: Set Supersedes and don't modify Message-ID if -o is set.
|
||||
|
|
|
|||
|
|
@ -120,6 +120,9 @@ if ($OptSimulation) {
|
|||
# -t implies -o if -n is not set
|
||||
$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
|
||||
my @Projects;
|
||||
if (!$OptProject) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue