]> git.armaanb.net Git - stagit.git/blobdiff - contrib/example_post-receive.sh
change STAGIT_BASEURL to an -u option and also update the example script
[stagit.git] / contrib / example_post-receive.sh
index c9bcb5e61d048a455652c5d197486bfd82b2e1a2..5e8d32b74ee633154f794efe1fe5afea6e567b93 100755 (executable)
@@ -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