aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-09-16 23:26:38 +0500
committerEgor Tensin <egor@tensin.name>2026-09-16 23:26:38 +0500
commit5539640ea8d9c761977cfe3db8fbae7ed4dd250a (patch)
tree46b42b0cc74552ed05f98282f78e22598cc18f6b
parentMerge pull request #9 from egor-tensin/dependabot/github_actions/actions/setu... (diff)
downloadwinapi-utf8-5539640ea8d9c761977cfe3db8fbae7ed4dd250a.tar.gz
winapi-utf8-5539640ea8d9c761977cfe3db8fbae7ed4dd250a.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 dad7e79..2a7df53 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