diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-07-18 17:30:01 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-07-18 17:31:19 +0200 |
commit | e3dfed59d39ac60dd2e2b9ef9f4ef63a2a081f41 (patch) | |
tree | bd05566a604cc681bdca1cc47f55cacafd59ebf9 /gnu | |
parent | 589c5e254635e70636fa536b5126e66d8a0e6537 (diff) | |
download | guix-e3dfed59d39ac60dd2e2b9ef9f4ef63a2a081f41.tar.gz guix-e3dfed59d39ac60dd2e2b9ef9f4ef63a2a081f41.zip |
modules: ‘file-name->module-name’ strips leading “./”.
Fixes <https://issues.guix.gnu.org/71979>.
* guix/modules.scm (file-name->module-name): Strip leading “.” component
from FILE.
* tests/modules.scm ("file-name->module-name")
("file-name->module-name, leading dot"): New tests.
Reported-by: Tomas Volf <~@wolfsden.cz>
Change-Id: I3d1b9f3f21448050cac4f3b1aed5f8f03758d4c9
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions