diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-23 00:07:03 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-23 00:07:03 +0100 |
| commit | 405e4031452cf4b26d84512969697295496f14a8 (patch) | |
| tree | 8384e79adebc5c2f435dddcdd735812459b1ec7e | |
| parent | da45e6f702d1ad7b5a4f7ada303b39b5a748f8c8 (diff) | |
| download | git-hooks-405e4031452cf4b26d84512969697295496f14a8.tar.gz git-hooks-405e4031452cf4b26d84512969697295496f14a8.zip | |
Fixed download button
| -rwxr-xr-x | post-receive-stagit | 2 |
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 | ||
| 45 | adddownloadbutton() { | 45 | adddownloadbutton() { |
| 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 \ |
