diff options
| author | Egor Tensin <egor@tensin.name> | 2026-09-16 23:22:21 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-09-16 23:22:21 +0500 |
| commit | 71094595a7e2857b5e2ade439ce664082ad20a8f (patch) | |
| tree | a1dcdbad041d1588c3b52ec77c0167ca9da26c3d /scripts/setup-hooks.sh | |
| parent | Merge pull request #7 from egor-tensin/dependabot/github_actions/actions/setu... (diff) | |
| download | privilege-check-71094595a7e2857b5e2ade439ce664082ad20a8f.tar.gz privilege-check-71094595a7e2857b5e2ade439ce664082ad20a8f.zip | |
scripts: use readonly
Diffstat (limited to 'scripts/setup-hooks.sh')
| -rwxr-xr-x | scripts/setup-hooks.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/setup-hooks.sh b/scripts/setup-hooks.sh index 0530bd5..181e769 100755 --- a/scripts/setup-hooks.sh +++ b/scripts/setup-hooks.sh @@ -5,6 +5,7 @@ shopt -s inherit_errexit lastpipe script_dir="$( dirname -- "${BASH_SOURCE[0]}" )" script_dir="$( cd -- "$script_dir" && pwd )" +readonly script_dir setup_clang_format_hook() { local gitdir |
