diff options
| author | Egor Tensin <egor@tensin.name> | 2026-09-16 23:19:43 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-09-16 23:19:43 +0500 |
| commit | ffeae6ad80a9ae4fefc95688956aab39a9cb65ef (patch) | |
| tree | e7704621c5409330cfa1531dbc5ea7984e504cf0 /scripts/setup-hooks.sh | |
| parent | Merge pull request #10 from egor-tensin/dependabot/github_actions/actions/set... (diff) | |
| download | math-server-ffeae6ad80a9ae4fefc95688956aab39a9cb65ef.tar.gz math-server-ffeae6ad80a9ae4fefc95688956aab39a9cb65ef.zip | |
scripts: use readonly
Diffstat (limited to '')
| -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 |
