Conversation
avivace
left a comment
There was a problem hiding this comment.
Thanks @quinnyo ! Could you take a look at the errors that bats is throwing? https://github.com/gbdev/rgbenv/actions/runs/21089453998/job/60673320519?pr=20
|
The tests pass on my machine. (Arch -- my bash, coreutils, etc. are a few releases ahead of the runner, but it's not ancient) printf is failing because it's getting a "%T" from $output, it seems -- the download percentage? curl prints Maybe I've done something weird and my environment is hiding it, but the workflow log looks consistent with the download failing. |
Changes rgbenv to make the man pages for the selected rgbds version detectable by man-db.
How it works:
$RGBENV_DEFAULT/man-- this will get automatically searched by man-db, provided$RGBENV_DEFAULT/binis in PATH.find) because different versions of rgbds have different pages, filenames, layouts, etc.$RGBENV_DEFAULT/man/man{1,5,7}I've been installing man pages on Arch and Debian in this way for many years without an issue, but I'm not necessarily an expert on the topic. More to the point, I'm not aware of what exists outside of man-db and this is only intended to work with the automatic search path detection implemented by man-db.
In the case that this is executed on a system without man-db, there should be no consequence as all it does is create directories and symlinks within the rgbenv managed directory.
For reference, explanation of manpath search behaviour in manpath(5) SEARCH PATH. Notably:
Fixes #19