mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Do the Right Thing(TM) with source files that have extensions
other than .sgml.
This commit is contained in:
parent
00bbbd73e9
commit
3697c8d8a6
@ -88,7 +88,7 @@ sub getfile {
|
||||
}
|
||||
$fileroot = $file;
|
||||
$fileroot =~ s/.*\///; # drop the path
|
||||
$fileroot =~ s/\.sgml$//; # drop the .sgml
|
||||
$fileroot =~ s/\.[^\.]*$//; # drop the extension
|
||||
$filepath = $file;
|
||||
$filepath =~ s/\/*[^\/]*$//;
|
||||
if ($filepath ne "") {
|
||||
|
Loading…
Reference in New Issue
Block a user