From 20de92f2870414dc1071d29d93deec0161e2bfba Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 16 Sep 2026 23:26:38 +0500 Subject: scripts: use readonly --- scripts/setup-hooks.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/setup-hooks.sh') 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 -- cgit v1.3