Skip to content

Commit

Permalink
Use /bin/sh for git pre-commit hook
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
c-chroniko committed Jun 24, 2020
1 parent 1ebed39 commit e437e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/git/pre-commit.git-hook
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit e437e06

Please sign in to comment.