aboutsummaryrefslogtreecommitdiff
path: root/post-receive-stagit
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-11-23 00:07:03 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-11-23 00:07:03 +0100
commit405e4031452cf4b26d84512969697295496f14a8 (patch)
tree8384e79adebc5c2f435dddcdd735812459b1ec7e /post-receive-stagit
parentda45e6f702d1ad7b5a4f7ada303b39b5a748f8c8 (diff)
downloadgit-hooks-405e4031452cf4b26d84512969697295496f14a8.tar.gz
git-hooks-405e4031452cf4b26d84512969697295496f14a8.zip
Fixed download button
Diffstat (limited to '')
-rwxr-xr-xpost-receive-stagit2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-receive-stagit b/post-receive-stagit
index 06448ef..152a748 100755
--- a/post-receive-stagit
+++ b/post-receive-stagit
@@ -44,7 +44,7 @@ formatreadme() {
44 44
45adddownloadbutton() { 45adddownloadbutton() {
46 cd "$htdir" 46 cd "$htdir"
47 git archive HEAD --prefix="$name/" -o "$basedir/$name.zip" 47 git archive HEAD -o "$basedir/$name.zip"
48 printf '%s\n' \ 48 printf '%s\n' \
49 "/log\.html\">Log<\/a>" i \ 49 "/log\.html\">Log<\/a>" i \
50 "<a href=\"../$name.zip\">Download</a> |" . w \ 50 "<a href=\"../$name.zip\">Download</a> |" . w \

Generated with cgit - Back to sebastiano.tronto.net