diff options
| author | Egor Tensin <egor@tensin.name> | 2026-09-16 22:57:34 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-09-16 22:57:34 +0500 |
| commit | 3bdb3cc66a716044f097156ad840e4d19ca6455f (patch) | |
| tree | 89377fbfbaa121f247e4fc592904ab8e775371a4 /scripts | |
| parent | adjust .editorconfig (diff) | |
| download | cimple-3bdb3cc66a716044f097156ad840e4d19ca6455f.tar.gz cimple-3bdb3cc66a716044f097156ad840e4d19ca6455f.zip | |
scripts: use readonly
Diffstat (limited to 'scripts')
| -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 |
