diff options
author | Jim Porter <jporterbugs@gmail.com> | 2023-05-04 22:43:13 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2023-05-04 22:44:40 -0700 |
commit | f204c4a6cfa77fdbb2573b728110576e206b0b20 (patch) | |
tree | 422b9461c696d0fa91427860112142e4f1c8d717 /build-aux | |
parent | eb3a90619fed86298c96951af527a8483bdd1a3c (diff) | |
download | emacs-f204c4a6cfa77fdbb2573b728110576e206b0b20.tar.gz |
; Use a Bourne shell-compatible form for command substitution
* build-aux/git-hooks/post-commit:
* build-aux/git-hooks/pre-push: Use `` instead of $().
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/git-hooks/post-commit | 2 | ||||
-rwxr-xr-x | build-aux/git-hooks/pre-push | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/git-hooks/post-commit b/build-aux/git-hooks/post-commit index 12cae09206a..e02fee48db4 100755 --- a/build-aux/git-hooks/post-commit +++ b/build-aux/git-hooks/post-commit @@ -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 diff --git a/build-aux/git-hooks/pre-push b/build-aux/git-hooks/pre-push index 420aae3492b..a342814c1e3 100755 --- a/build-aux/git-hooks/pre-push +++ b/build-aux/git-hooks/pre-push @@ -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 |