From f1f8fa0e43c55305a7de57c54a684562bbb905d3 Mon Sep 17 00:00:00 2001 From: Divyansh Singh Date: Tue, 19 Mar 2024 21:41:00 +0530 Subject: [PATCH] make prepush hook executable (#2076) --- setup-dev.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup-dev.sh b/setup-dev.sh index 0a4607d6d..22b1f2c79 100755 --- a/setup-dev.sh +++ b/setup-dev.sh @@ -33,7 +33,9 @@ if [ -t 1 ]; then read yn if [[ "$yn" == [Yy]* ]]; then echo "$hook_script" > "$hook_script_path" - echo "pre-push hook installed to $hook_script_path" + # make the hook executable + chmod ug+x "$hook_script_path" + echo "pre-push hook installed to $hook_script_path and made executable" fi fi