cosmetic
[infrastructure.git] / scripts / git-daemon.init.d
index f6b6ebc..9df272e 100755 (executable)
@@ -18,7 +18,10 @@ RETVAL=0
 prog="git-daemon"
 
 # Some functions to make the below more readable
-GIT=/usr/bin/git-daemon
+# previous location (f8)
+#GIT=/usr/bin/git-daemon
+# for f14
+GIT=/usr/libexec/git-core/git-daemon
 PID_FILE=/var/run/git-daemon.pid
 
 # override OPTIONS altogether for more flexibility
@@ -29,7 +32,7 @@ runlevel=$(set -- $(runlevel); eval "echo \$$#" )
 start()
 {
        echo -n $"Starting $prog: "
-       $(eval $GIT $OPTIONS) && success || failure
+       $GIT $OPTIONS && success || failure
        RETVAL=$?
        [ "$RETVAL" = 0 ] && touch /var/lock/subsys/git
        echo