From 5ced189f1993fc17ae683f0a542218db7be7267b Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 5 Mar 2021 12:44:48 +0100 Subject: change STAGIT_BASEURL to an -u option and also update the example script --- example_post-receive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example_post-receive.sh') diff --git a/example_post-receive.sh b/example_post-receive.sh index c9bcb5e..5e8d32b 100755 --- a/example_post-receive.sh +++ b/example_post-receive.sh @@ -64,7 +64,7 @@ fi stagit-index "${reposdir}/"*/ > "${destdir}/index.html" # make pages. -stagit -c "${cachefile}" "${reposdir}/${r}" +stagit -c "${cachefile}" -u "https://git.codemadness.nl/$d/" "${reposdir}/${r}" ln -sf log.html index.html ln -sf ../style.css style.css -- cgit v1.2.3