]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: find-unused-docs.sh: fixup directory usage
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 2 Jan 2026 20:06:57 +0000 (12:06 -0800)
committerJonathan Corbet <corbet@lwn.net>
Tue, 6 Jan 2026 21:36:07 +0000 (14:36 -0700)
commite970637707f4f8e5bd098b09090b755f2f57898b
tree0939e7bdee63fcdd3c218fd24978e1b4faf19b87
parent7f3f258dafa9901f4b583b83e9ba95e6fdae1587
docs: find-unused-docs.sh: fixup directory usage

The recent move of this script from scripts/ to tools/docs/
did not account for the 'cd' directory usage.
Update "cd .." to "cd ../.." to make the script self-correcting.

This also eliminates a shell warning:
./tools/docs/find-unused-docs.sh: line 33: cd: Documentation/: No such file or directory

Fixes: 184414c6a6ca ("docs: move find-unused-docs.sh to tools/docs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 184414c6a6ca (docs: move find-unused-docs.sh to tools/docs)
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260102200657.1040234-1-rdunlap@infradead.org>
tools/docs/find-unused-docs.sh