chiark / gitweb /
remove debugging guff, sorry
[disorder] / server / disorderd.c
index f2ebb9abf49241a571819ab67fe4baf7e4f977b2..3cb56d09d7c1637c7e8349718ac0208ea8c4c8f1 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include <config.h>
+#include "types.h"
 
 #include <stdio.h>
 #include <getopt.h>
@@ -190,7 +191,7 @@ static void fix_path(void) {
   if(!path)
     error(0, "PATH is not set at all!");
 
-  if(*finkbindir)
+  if(*finkbindir && strcmp(finkbindir, "/"))
     /* We appear to be a finkized mac; include fink on the path in case the
      * tools we need are there. */
     byte_xasprintf(&newpath, "PATH=%s:%s:%s:%s",