summaryrefslogtreecommitdiff
path: root/gitd
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2010-05-14 11:47:59 +0000
committerNick <nick@somerandomnick.ano>2010-05-14 11:47:59 +0000
commit1bec15ac091e180c0dcace912dab8b30cb27852a (patch)
tree77c934122bee803bab9a45a3c65f975572869ecf /gitd
parentf183517ce571b8e0bcbef0014ef4d162e4d60582 (diff)
downloadresdb-1bec15ac091e180c0dcace912dab8b30cb27852a.tar.gz
resdb-1bec15ac091e180c0dcace912dab8b30cb27852a.zip
fixed a stupid bug
Diffstat (limited to 'gitd')
-rwxr-xr-xgitd2
1 files changed, 1 insertions, 1 deletions
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)"