mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-11 15:00:08 +08:00
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:
parent
96dafbda93
commit
27b101add7
@ -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|^.*/||'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user