maint: fix git hooks logic error

`test set = set = set` is invalid, as is `test set = = set`.
Tweak the code to what was probably intended.

* build-aux/git-hooks/commit-msg: Fix $ECHO test call.
This commit is contained in:
Mike Frysinger 2024-01-12 02:14:47 -05:00
parent 96dafbda93
commit 27b101add7

View File

@ -23,7 +23,7 @@
: ${SED="sed"}
test set = ${ECHO+'set'} = set || ECHO='printf %s\n'
test "${ECHO+set}" = set || ECHO='printf %s\n'
basename='s|^.*/||'