From 9f379b2920f0aa3acf899215b6050f6e8728ab48 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 8 Apr 2025 23:38:39 -0600 Subject: make lint: Adopt shfmt tusb_helpers.h.gen got a little manual fussing here --- build-aux/lint-h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build-aux/lint-h') diff --git a/build-aux/lint-h b/build-aux/lint-h index 26ac13d..7459032 100755 --- a/build-aux/lint-h +++ b/build-aux/lint-h @@ -18,9 +18,9 @@ for filename in "$@"; do guard=${dscname//'/'/'_'} guard=${guard//'.'/'_'} guard="_${guard^^}_" - if ! { grep -Fxq "#ifndef ${guard}" "$filename" && - grep -Fxq "#define ${guard}" "$filename" && - grep -Fxq "#endif /* ${guard} */" "$filename"; }; then + if ! { grep -Fxq "#ifndef ${guard}" "$filename" && + grep -Fxq "#define ${guard}" "$filename" && + grep -Fxq "#endif /* ${guard} */" "$filename"; }; then err "$filename" "does not have ${guard} guard" fi done -- cgit v1.2.3-2-g168b