]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: Fix handling relative moduledir
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 14 Nov 2024 16:33:14 +0000 (10:33 -0600)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 21 Nov 2024 04:25:30 +0000 (22:25 -0600)
commita9e69c02d6c26edc9a8bae5ca2b7c4d9d21da9dc
tree3f6195411121e1f2f7a10f2ae0b7262c2ab75103
parent263ab7243cb1cb0b4dddf7b789d5b61865ba0955
depmod: Fix handling relative moduledir

Make sure moduledir is always relative to the basedir and document it as
such.

Note: scdoc 1.11.3 produces a strange result when trying to render the
man page for the 2 examples. Workaround that by ending with an explicit
newline, which produces another stranger behavior (but visually correct)
of indenting the next line.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/243
man/depmod.8.scd
tools/depmod.c