1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:34:57 +00:00

Base: Add new system-mode that just generates manpages

This commit is contained in:
Ben Wiederhake 2021-10-23 23:47:08 +02:00 committed by Linus Groh
parent 70c7861c33
commit 2caad04d23
3 changed files with 63 additions and 2 deletions

View file

@ -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