♻️(scripts) improve script portability
Improved script portability by switching to `/usr/bin/env bash`, ensuring better support across environments where `bash` may not be the default shell.
This commit is contained in:
committed by
aleb_the_flash
parent
3c8e3b9e29
commit
a61b34400b
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p "$(dirname -- "${BASH_SOURCE[0]}")/../.git/hooks/"
|
||||
PRE_COMMIT_FILE="$(dirname -- "${BASH_SOURCE[0]}")/../.git/hooks/pre-commit"
|
||||
|
||||
Reference in New Issue
Block a user