From 8891c2c7a216c4cfadc0ed74cea4e4b2edc82da3 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 21 Nov 2022 19:06:14 +0100 Subject: Lol missing " broke everything --- post-receive-stagit | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'post-receive-stagit') diff --git a/post-receive-stagit b/post-receive-stagit index 9b3de8c..bad3b68 100755 --- a/post-receive-stagit +++ b/post-receive-stagit @@ -1,6 +1,6 @@ #!/bin/sh -yourname="Sebastiano Tronto +yourname="Sebastiano Tronto" repo="$PWD" name="$(basename $repo .git)" baseurl="https://git.tronto.net" @@ -92,8 +92,7 @@ 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" > \ - hooks/post-receive + cp $bindir/post-receive-stagit hooks/post-receive chmod +x hooks/post-receive $bindir/post-receive-stagit cd -- cgit v1.3