From e4f62b4ea93b2e1a5fe18366d99d5fa2220eea34 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sat, 13 Sep 2025 23:09:05 -0400 Subject: Parse quoted values --- pre-commit.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'pre-commit.sh') diff --git a/pre-commit.sh b/pre-commit.sh index 6841365..85253dd 100755 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -1,11 +1,4 @@ #!/bin/sh -if sed --version | grep -q 'GNU sed'; then - for file in pom.c pom.h; do - # Remove trailing white space - # (But only if file actually has trailing white space - # we don't want to mess up last-modified-times otherwise) - grep -q '\s\s*$' $file && sed -i 's/\s\s*$//' $file - done -fi + +# Ensure no doxygen errors which doxygen >/dev/null 2>/dev/null && { doxygen || exit 1; } -git add -u -- cgit v1.2.3