aboutsummaryrefslogtreecommitdiff
path: root/post-receive-stagit
diff options
context:
space:
mode:
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