aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-09-16 23:19:43 +0500
committerEgor Tensin <egor@tensin.name>2026-09-16 23:19:43 +0500
commitffeae6ad80a9ae4fefc95688956aab39a9cb65ef (patch)
treee7704621c5409330cfa1531dbc5ea7984e504cf0
parentMerge pull request #10 from egor-tensin/dependabot/github_actions/actions/set... (diff)
downloadmath-server-ffeae6ad80a9ae4fefc95688956aab39a9cb65ef.tar.gz
math-server-ffeae6ad80a9ae4fefc95688956aab39a9cb65ef.zip
scripts: use readonly
-rwxr-xr-xscripts/setup-hooks.sh1
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