From: rjk@greenend.org.uk <> Date: Fri, 28 Sep 2007 17:32:29 +0000 (+0100) Subject: exclude nonsense finkbindir X-Git-Tag: debian-1_5_99dev8~217 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/3178089935849dbafedf7c73f611cdef67994100 exclude nonsense finkbindir --- diff --git a/server/disorderd.c b/server/disorderd.c index 1100140..3cb56d0 100644 --- a/server/disorderd.c +++ b/server/disorderd.c @@ -191,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",