From 3d5c94be4e903a689299a8347957bc4a7beb0a37 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 20 Nov 2022 23:47:51 +0100 Subject: Make hook executable --- post-receive-stagit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/post-receive-stagit b/post-receive-stagit index 7b5d992..93107cd 100755 --- a/post-receive-stagit +++ b/post-receive-stagit @@ -91,8 +91,9 @@ if [ "$1" = "index" ]; then elif [ "$1" = "all" ]; then for g in *.git; do cd $g - printf "#!/bin/sh\n\n$bindir/post-receive-stagit\n" >> \ + printf "#!/bin/sh\n\n$bindir/post-receive-stagit\n" > \ hooks/post-receive + chmod +x hooks/post-receive $bindir/post-receive-stagit cd done -- cgit v1.3