mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
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:184414c6a6("docs: move find-unused-docs.sh to tools/docs") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Fixes:184414c6a6(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>
This commit is contained in:
parent
7f3f258daf
commit
e970637707
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ if ! [ -d "$1" ]; then
|
|||
fi
|
||||
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
||||
cd ..
|
||||
cd ../..
|
||||
|
||||
cd Documentation/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue