Skip to content

Commit

Permalink
Initialize all boolean config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi authored and josephwright committed Nov 18, 2024
1 parent 9c011b8 commit 8c17120
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.

## [Unreleased]

### Changed
- Initialize all boolean config variables.

### Fixed
- Skip README rename when this has no extension (issue \#388)

Expand Down
11 changes: 9 additions & 2 deletions l3build-variables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ end
-- Other required settings
asciiengines = asciiengines or {"pdftex"}
checkruns = checkruns or 1
if forcecheckruns == nil then
forcecheckruns = false
end
ctanreadme = ctanreadme or "README.md"
ctanzip = ctanzip or ctanpkg .. "-ctan"
epoch = epoch or 1463734800
Expand All @@ -193,12 +196,16 @@ if flattentds == nil then
flattentds = true
end
maxprintline = maxprintline or 9999
packtdszip = packtdszip or false
if packtdszip == nil then
packtdszip = false
end
-- support "ps2pdfopt" for backward compatibility, gh issue #275
ps2pdfopts = ps2pdfopts or ps2pdfopt or ""
typesetcmds = typesetcmds or ""
typesetruns = typesetruns or 3
recordstatus = recordstatus or false
if recordstatus == nil then
recordstatus = false
end

-- Extensions for various file types: used to abstract out stuff a bit
bakext = bakext or ".bak"
Expand Down

0 comments on commit 8c17120

Please sign in to comment.