aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/setup-hooks.sh
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-09-16 22:57:34 +0500
committerEgor Tensin <egor@tensin.name>2026-09-16 22:57:34 +0500
commit3bdb3cc66a716044f097156ad840e4d19ca6455f (patch)
tree89377fbfbaa121f247e4fc592904ab8e775371a4 /scripts/setup-hooks.sh
parentadjust .editorconfig (diff)
downloadcimple-3bdb3cc66a716044f097156ad840e4d19ca6455f.tar.gz
cimple-3bdb3cc66a716044f097156ad840e4d19ca6455f.zip
scripts: use readonly
Diffstat (limited to 'scripts/setup-hooks.sh')
-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