aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/git-hooks/prepare-commit-msg
diff options
context:
space:
mode:
authorStefan Kangas2020-12-31 12:11:31 +0100
committerStefan Kangas2020-12-31 12:11:31 +0100
commitefe591143f3df326c11eb65f5aeea419405d4b90 (patch)
treeb6de3651e4c9e6729f7f4104c5034134a07186bd /build-aux/git-hooks/prepare-commit-msg
parent46c4bcd3927d47b1d694d80087041ef0c0112477 (diff)
downloademacs-efe591143f3df326c11eb65f5aeea419405d4b90.tar.gz
emacs-efe591143f3df326c11eb65f5aeea419405d4b90.zip
Fix some shellcheck linter warnings
* admin/diff-tar-files: * admin/merge-gnulib: * admin/merge-pkg-config: * admin/update-copyright: * build-aux/git-hooks/prepare-commit-msg: * make-dist: Fix some shellcheck linter warnings.
Diffstat (limited to 'build-aux/git-hooks/prepare-commit-msg')
-rwxr-xr-xbuild-aux/git-hooks/prepare-commit-msg4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/git-hooks/prepare-commit-msg b/build-aux/git-hooks/prepare-commit-msg
index dbb1264b495..06e328a1c39 100755
--- a/build-aux/git-hooks/prepare-commit-msg
+++ b/build-aux/git-hooks/prepare-commit-msg
@@ -24,9 +24,9 @@ SHA1=$3
24 24
25# Prefer gawk if available, as it handles NUL bytes properly. 25# Prefer gawk if available, as it handles NUL bytes properly.
26if type gawk >/dev/null 2>&1; then 26if type gawk >/dev/null 2>&1; then
27 awk=gawk 27 awk="gawk"
28else 28else
29 awk=awk 29 awk="awk"
30fi 30fi
31 31
32exec $awk ' 32exec $awk '