summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthislooksfun <tlf@thislooks.fun>2021-10-26 16:02:58 -0500
committerAndreas Kling <kling@serenityos.org>2021-11-02 12:23:30 +0100
commita984545a94c7abe8cd47d27f38274738da1443ad (patch)
tree392ce0cb1e8785021a93ddee9b5fa485a411123d
parent19bd302f6ab37a08d3adf05a856cbe207eb06545 (diff)
downloadserenity-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-xMeta/lint-ipc-ids.sh2
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)