aboutsummaryrefslogtreecommitdiffstats
path: root/example_post-receive.sh
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2021-03-05 12:44:48 +0100
committerHiltjo Posthuma <[email protected]>2021-03-05 12:44:48 +0100
commit5ced189f1993fc17ae683f0a542218db7be7267b (patch)
treedad1d5c3ae6f47b6d97abbd1cb1befe7669b34a0 /example_post-receive.sh
parent7968c0bc9c0172bd654e1f87d8194aef7fb69865 (diff)
downloadstagit-5ced189f1993fc17ae683f0a542218db7be7267b.tar.gz
stagit-5ced189f1993fc17ae683f0a542218db7be7267b.zip
change STAGIT_BASEURL to an -u option and also update the example script
Diffstat (limited to 'example_post-receive.sh')
-rwxr-xr-xexample_post-receive.sh2
1 files changed, 1 insertions, 1 deletions
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