summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"