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