From a984545a94c7abe8cd47d27f38274738da1443ad Mon Sep 17 00:00:00 2001 From: thislooksfun Date: Tue, 26 Oct 2021 16:02:58 -0500 Subject: [PATCH] Meta: Run find in the current dir macOS's find requires a leading search scope. Without this change this lint step fails. --- Meta/lint-ipc-ids.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)