Make pre-commit hook portable
Replace usage of shell features that are not defined in the POSIX shell with portable equivalents.
Fixes: #26 (closed)
Replace usage of shell features that are not defined in the POSIX shell with portable equivalents.
Fixes: #26 (closed)