diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-01-16 15:56:09 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-01-16 15:56:33 +0000 |
| commit | bda6ed2ee4d8e836b1b2f8ca7a6ed72034e5f231 (patch) | |
| tree | 89c715bceed5a0ce625ba3e7dc6d2c6cd1a5d7fd /tools | |
| parent | e2d7bec6bc5a124091859ad134bc9cfc2a8b4688 (diff) | |
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/build/make_libc_exterr_cat_filenames.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/make_libc_exterr_cat_filenames.sh b/tools/build/make_libc_exterr_cat_filenames.sh index fbde85891200..d05e95269e5f 100755 --- a/tools/build/make_libc_exterr_cat_filenames.sh +++ b/tools/build/make_libc_exterr_cat_filenames.sh @@ -14,7 +14,7 @@ printf " * Automatically %sgenerated, use\\n" \@ >>"${target}" echo " * tools/build/make_libc_exterr_cat_filenames.sh" >>"${target}" echo " */" >>"${target}" -(find sys -type f -name '*.c' | \ +(find -s sys -type f -name '*.c' | \ xargs grep -E '^#define[[:space:]]+EXTERR_CATEGORY[[:space:]]+EXTERR_CAT_' | \ sed -E 's/[[:space:]]+/:/g' | \ awk -F ':' '{filename = $1; sub(/^sys\//, "", filename); |
