diff options
| -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 152a748..3284e83 100755 --- a/post-receive-stagit +++ b/post-receive-stagit | |||
| @@ -47,7 +47,7 @@ adddownloadbutton() { | |||
| 47 | git archive HEAD -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=\"$baseurl/$name.zip\">Download</a> |" . w \ |
| 51 | | ed -s "$1" > /dev/null | 51 | | ed -s "$1" > /dev/null |
| 52 | } | 52 | } |
| 53 | 53 | ||
