aboutsummaryrefslogtreecommitdiff
path: root/post-receive-stagit
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-11-21 19:06:14 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-11-21 19:06:14 +0100
commit8891c2c7a216c4cfadc0ed74cea4e4b2edc82da3 (patch)
treea5458a88c09b8eed048df66122950a5112f0fd0b /post-receive-stagit
parent6f426c3b72cfafb6696881530bfa62803eae84ab (diff)
downloadgit-hooks-8891c2c7a216c4cfadc0ed74cea4e4b2edc82da3.tar.gz
git-hooks-8891c2c7a216c4cfadc0ed74cea4e4b2edc82da3.zip
Lol missing " broke everything
Diffstat (limited to 'post-receive-stagit')
-rwxr-xr-xpost-receive-stagit5
1 files changed, 2 insertions, 3 deletions
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 @@
1#!/bin/sh 1#!/bin/sh
2 2
3yourname="Sebastiano Tronto 3yourname="Sebastiano Tronto"
4repo="$PWD" 4repo="$PWD"
5name="$(basename $repo .git)" 5name="$(basename $repo .git)"
6baseurl="https://git.tronto.net" 6baseurl="https://git.tronto.net"
@@ -92,8 +92,7 @@ if [ "$1" = "index" ]; then
92elif [ "$1" = "all" ]; then 92elif [ "$1" = "all" ]; then
93 for g in *.git; do 93 for g in *.git; do
94 cd $g 94 cd $g
95 printf "#!/bin/sh\n\n$bindir/post-receive-stagit\n" > \ 95 cp $bindir/post-receive-stagit hooks/post-receive
96 hooks/post-receive
97 chmod +x hooks/post-receive 96 chmod +x hooks/post-receive
98 $bindir/post-receive-stagit 97 $bindir/post-receive-stagit
99 cd 98 cd

Generated with cgit - Back to sebastiano.tronto.net