Skip to content

Commit

Permalink
.make#stats: update has-shellverbose.c to has-std-sh.c
Browse files Browse the repository at this point in the history
  • Loading branch information
XPhyro committed Feb 15, 2024
1 parent f8e367c commit 3fa50b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/.make
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ stats() {
bashloc="$(wc -l < "$tmp")"
bashsloc="$(sed '/^\s*$/d;/^\s*#/d' < "$tmp" | wc -l)"

files="$(find -P 'c' -mindepth 1 -type f \( -iname "*.c" -o -iname "*.h" \); printf "%s\n" "$rootdir/.hooks/has-shellverbose.c")"
files="$(find -P 'c' -mindepth 1 -type f \( -iname "*.c" -o -iname "*.h" \); printf "%s\n" "$rootdir/.hooks/has-std-sh.c")"
cn="$(printf "%s\n" "$files" | wc -l)"
printf "%s\n" "$files" | xargs -r -d '\n' cat -- > "$tmp"
cbytes="$(tr -d '[:space:]' < "$tmp" | wc -m)"
Expand Down

0 comments on commit 3fa50b8

Please sign in to comment.