changeset 21:ffd1b6e28335 draft

fixed a stupid bug
author Nick <nick@somerandomnick.ano>
date Fri, 14 May 2010 11:47:59 +0000
parents dfae832dd5e5
children 745d1e774738
files gitd
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gitd	Fri May 14 11:44:56 2010 +0000
+++ b/gitd	Fri May 14 11:47:59 2010 +0000
@@ -1,3 +1,3 @@
 #!/bin/sh
-repodir="$(basename $0)"
+repodir="$(dirname $0)"
 exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)"