Files
opl- b9254d9ebf Replace all usages of /bin/bash shebang with /usr/bin/env (#40756)
Replace all usages of /bin/bash with /usr/bin/env

/usr/bin/env is nearly guaranteed to always exist at that location, which can't be said about /bin/bash and /bin/sh.

Co-authored-by: opl <4833621+opl@users.noreply.github.com>
2025-10-12 19:49:41 +00:00

6 lines
149 B
Bash
Executable File

#!/usr/bin/env bash
# Just call post-checkout since it does the same thing.
gitroot=$(git rev-parse --git-path hooks)
bash "$gitroot/post-checkout"