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)
|
yapfaq 1.1.1 (unreleased)
|
||||||
* Warn for missing .rc file.
|
* 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.
|
||||||
|
|
|
||||||
|
|
@ -120,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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue