diff options
author | thislooksfun <tlf@thislooks.fun> | 2021-10-26 16:02:58 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-02 12:23:30 +0100 |
commit | a984545a94c7abe8cd47d27f38274738da1443ad (patch) | |
tree | 392ce0cb1e8785021a93ddee9b5fa485a411123d | |
parent | 19bd302f6ab37a08d3adf05a856cbe207eb06545 (diff) | |
download | serenity-a984545a94c7abe8cd47d27f38274738da1443ad.zip |
Meta: Run find in the current dir
macOS's find requires a leading search scope. Without this change this
lint step fails.
-rwxr-xr-x | Meta/lint-ipc-ids.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/lint-ipc-ids.sh b/Meta/lint-ipc-ids.sh index 080281ac60..abec77e989 100755 --- a/Meta/lint-ipc-ids.sh +++ b/Meta/lint-ipc-ids.sh @@ -5,7 +5,7 @@ set -eo pipefail script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) cd "$script_path/.." -ALL_ENDPOINTS=$(find \( -name Toolchain -o -name Build -o -name .git -o -name Ports \) -prune -o -name '*.ipc' -print0 | xargs -0 grep -E '^endpoint ' | sort -k4 -n) +ALL_ENDPOINTS=$(find . \( -name Toolchain -o -name Build -o -name .git -o -name Ports \) -prune -o -name '*.ipc' -print0 | xargs -0 grep -E '^endpoint ' | sort -k4 -n) BAD_ENDPOINTS=$(echo "${ALL_ENDPOINTS}" | cut -d' ' -f4 | uniq -d) |