From 1bec15ac091e180c0dcace912dab8b30cb27852a Mon Sep 17 00:00:00 2001
From: Nick <nick@somerandomnick.ano>
Date: Fri, 14 May 2010 11:47:59 +0000
Subject: fixed a stupid bug

---
 gitd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gitd')

diff --git a/gitd b/gitd
index 591ca2a..533a26d 100755
--- a/gitd
+++ b/gitd
@@ -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)"
-- 
cgit v1.2.3