dot

packages and services management
Log | Files | Refs | README

commit 00241e31295db344a0a94bbad4b6ef753fef36eb
parent 5ff8c8c07839e54bef4784f6e72d242680b997ac
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 17 Jan 2019 00:13:44 +0100

make stagit run synchronously

Diffstat:
Metc/git/public/hooks/post-receive.d/stagit | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/etc/git/public/hooks/post-receive.d/stagit b/etc/git/public/hooks/post-receive.d/stagit @@ -9,10 +9,6 @@ importas git x backtick -n x { heredoc 0 ${git} sed -r "s,.*/,," } importas name x -if { mkdir -p stagit } -redirfd -w 1 stagit/log -redirfd -w 2 stagit/log - if { mkdir -p ${www}/${name} stagit } backtick x { @@ -27,5 +23,5 @@ if { redirfd -w 1 ${www}/index.html stagit-index ${repolist} } cd ${www}/${name} -background -d { stagit-gopher -b /git/${name} -c ${git}/stagit/cache-gopher ${git} } -background -d { stagit ${git} -c ${git}/stagit/cache-html } +foreground { stagit-gopher -b /git/${name} -c ${git}/stagit/cache-gopher ${git} } +foreground { stagit ${git} -c ${git}/stagit/cache-html }