chiark / gitweb /
exclude nonsense finkbindir
authorrjk@greenend.org.uk <>
Fri, 28 Sep 2007 17:32:29 +0000 (18:32 +0100)
committerrjk@greenend.org.uk <>
Fri, 28 Sep 2007 17:32:29 +0000 (18:32 +0100)
server/disorderd.c

index 1100140d27e33c542c989515eb7cc3a6d73b4b38..3cb56d09d7c1637c7e8349718ac0208ea8c4c8f1 100644 (file)
@@ -191,7 +191,7 @@ static void fix_path(void) {
   if(!path)
     error(0, "PATH is not set at all!");
 
   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", 
     /* 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",