mirror of
https://github.com/curl/curl.git
synced 2026-07-24 22:47:16 +03:00
scripts/mdlinkcheck: fix the ../ handling in file links
Follow-up to 62515e8e9d
Closes #15797
This commit is contained in:
parent
250d613763
commit
28dd14aafe
2 changed files with 4 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ sub storelink {
|
|||
$dir =~ s:([^/]*\z)::;
|
||||
|
||||
while($link =~ s:^\.\.\/::) {
|
||||
$dir =~ s:^([^/]*)/::;
|
||||
$dir =~ s:([^/]*)\/\z::;
|
||||
}
|
||||
|
||||
$flink{"./$dir$link"} .= "$f:$line ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue