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>
6 lines
149 B
Bash
Executable File
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"
|