view gitd @ 357:2f379a0b6461 draft

Revert "Added git path (Atiti)" This reverts commit c964d8bbde489b54db02be6e399d9ab364265765. Setting configure to force bash is inappropriate. configure can use any shell with korn or compatible features, and on most systems /bin/sh points to such a shell. Ubutnu breaks compatibility by changing /bin/sh to dash. The solution is to fix Ubuntu, not to break the configure script.
author Nick <nick@somerandomnick.ano>
date Wed, 12 Jan 2011 07:20:11 +0000
parents 17b7c922f9fb
children fb73b7e956ec
line wrap: on
line source

#!/bin/sh
repodir="$(dirname $0)"
touch "$repodir"/.git/git-daemon-export-ok
exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)"