From ffeae6ad80a9ae4fefc95688956aab39a9cb65ef Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 16 Sep 2026 23:19:43 +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