forked from Github/emacs
; 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:
parent
eb3a90619f
commit
f204c4a6cf
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
### Code:
|
### Code:
|
||||||
|
|
||||||
HOOKS_DIR=$(dirname $0)
|
HOOKS_DIR=`dirname "$0"`
|
||||||
|
|
||||||
# Prefer gawk if available, as it handles NUL bytes properly.
|
# Prefer gawk if available, as it handles NUL bytes properly.
|
||||||
if type gawk >/dev/null 2>&1; then
|
if type gawk >/dev/null 2>&1; then
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
### Code:
|
### Code:
|
||||||
|
|
||||||
HOOKS_DIR=$(dirname $0)
|
HOOKS_DIR=`dirname "$0"`
|
||||||
|
|
||||||
# Prefer gawk if available, as it handles NUL bytes properly.
|
# Prefer gawk if available, as it handles NUL bytes properly.
|
||||||
if type gawk >/dev/null 2>&1; then
|
if type gawk >/dev/null 2>&1; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue