summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2023-05-04 22:43:13 -0700
committerJim Porter <jporterbugs@gmail.com>2023-05-04 22:44:40 -0700
commitf204c4a6cfa77fdbb2573b728110576e206b0b20 (patch)
tree422b9461c696d0fa91427860112142e4f1c8d717 /build-aux
parenteb3a90619fed86298c96951af527a8483bdd1a3c (diff)
downloademacs-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-xbuild-aux/git-hooks/post-commit2
-rwxr-xr-xbuild-aux/git-hooks/pre-push2
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