aboutsummaryrefslogtreecommitdiff
path: root/post-receive-stagit
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-05-07 22:17:35 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-05-07 22:17:35 +0200
commitfbea748c39fdc346612e7b4f18d3518f55cc8424 (patch)
tree89554aaf9223a587adc4ed7e3303417c6c81dcca /post-receive-stagit
parent6ed532078680a6735811aa40a3b41c2a77c0da42 (diff)
downloadgit-hooks-fbea748c39fdc346612e7b4f18d3518f55cc8424.tar.gz
git-hooks-fbea748c39fdc346612e7b4f18d3518f55cc8424.zip
Fixes
Diffstat (limited to '')
-rwxr-xr-xpost-receive-stagit6
1 files changed, 4 insertions, 2 deletions
diff --git a/post-receive-stagit b/post-receive-stagit
index 586a533..57b5732 100755
--- a/post-receive-stagit
+++ b/post-receive-stagit
@@ -80,6 +80,7 @@ mkpage() {
80 adddownloadbutton $f 80 adddownloadbutton $f
81 addbottombar $f 81 addbottombar $f
82 done 82 done
83 mkindex
83} 84}
84 85
85mkindex() { 86mkindex() {
@@ -98,7 +99,8 @@ if [ "$1" = "all" ]; then
98 $bindir/post-receive-stagit 99 $bindir/post-receive-stagit
99 cd 100 cd
100 done 101 done
101elif [ "$1" != "index" ]; then 102elif [ "$1" = "index" ]; then
103 mkindex
104else
102 mkpage 105 mkpage
103fi 106fi
104mkindex

Generated with cgit - Back to sebastiano.tronto.net