mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00
Base: Add new system-mode that just generates manpages
This commit is contained in:
parent
70c7861c33
commit
2caad04d23
Notes:
sideshowbarker
2024-07-18 01:38:27 +09:00
Author: https://github.com/BenWiederhake
Commit: 2caad04d23
Pull-request: https://github.com/SerenityOS/serenity/pull/10655
Reviewed-by: https://github.com/linusg
3 changed files with 63 additions and 2 deletions
|
@ -11,12 +11,13 @@ if [ "$#" -eq "0" ]; then
|
|||
'*.sh' \
|
||||
':!:Ports' \
|
||||
':!:Userland/Shell/Tests' \
|
||||
':!:Base/home/anon/tests'
|
||||
':!:Base/home/anon/tests' \
|
||||
':!:Base/root/generate_manpages.sh'
|
||||
)
|
||||
else
|
||||
files=()
|
||||
for file in "$@"; do
|
||||
if [[ "${file}" == *".sh" ]]; then
|
||||
if [[ "${file}" == *".sh" && "${file}" != "Base/root/generate_manpages.sh" ]]; then
|
||||
files+=("${file}")
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue