Commit 8653d286 authored by Gaëtan Lehmann's avatar Gaëtan Lehmann Committed by Brad King
Browse files

Reference bash explicitly in shebang lines

On Solaris, where /bin/sh is actually sh, not bash, some expressions
like $() are not supported.  Git's own scripts on this machine are
configured to use "#!/bin/bash".  Change our shebang line to

  #!/usr/bin/env bash

which should work almost everywhere.
parent 6c7e3f42
#!/bin/sh #!/usr/bin/env bash
# #
# Copy or link this file as ".git/hooks/pre-commit". # Copy or link this file as ".git/hooks/pre-commit".
......
#!/bin/sh #!/usr/bin/env bash
# #
# Copy or link this file as ".git/hooks/pre-commit". # Copy or link this file as ".git/hooks/pre-commit".
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment