commit e437e069f76c5e4c1804516cb9753d329fd0eea9 Author: c c@chroniko.jp Date: Wed Jun 24 02:50:37 2020 +0000
Use /bin/sh for git pre-commit hook
There were no bash-specific features in this file, so eliminate dependency on bash and use regular sh. Shellcheck tests pass with the #!/bin/sh shebang. --- scripts/git/pre-commit.git-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/git/pre-commit.git-hook b/scripts/git/pre-commit.git-hook index 885df80..1369d9f 100755 --- a/scripts/git/pre-commit.git-hook +++ b/scripts/git/pre-commit.git-hook @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh # # To install this script, copy it to .git/hooks/pre-commit in local copy of # the chutney git repo, and make sure it has permission to execute.