; Use a Bourne shell-compatible form for command substitution

* build-aux/git-hooks/post-commit:
* build-aux/git-hooks/pre-push: Use `` instead of $().
This commit is contained in:
Jim Porter 2023-05-04 22:43:13 -07:00
parent eb3a90619f
commit f204c4a6cf
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@
### Code:
HOOKS_DIR=$(dirname $0)
HOOKS_DIR=`dirname "$0"`
# Prefer gawk if available, as it handles NUL bytes properly.
if type gawk >/dev/null 2>&1; then

View file

@ -31,7 +31,7 @@
### Code:
HOOKS_DIR=$(dirname $0)
HOOKS_DIR=`dirname "$0"`
# Prefer gawk if available, as it handles NUL bytes properly.
if type gawk >/dev/null 2>&1; then