From e437e069f76c5e4c1804516cb9753d329fd0eea9 Mon Sep 17 00:00:00 2001 From: c Date: Wed, 24 Jun 2020 02:50:37 +0000 Subject: [PATCH] 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.