chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fcdcbfe
)
exclude nonsense finkbindir
author
rjk@greenend.org.uk
<>
Fri, 28 Sep 2007 17:32:29 +0000
(18:32 +0100)
committer
rjk@greenend.org.uk
<>
Fri, 28 Sep 2007 17:32:29 +0000
(18:32 +0100)
server/disorderd.c
patch
|
blob
|
blame
|
history
diff --git
a/server/disorderd.c
b/server/disorderd.c
index 1100140d27e33c542c989515eb7cc3a6d73b4b38..3cb56d09d7c1637c7e8349718ac0208ea8c4c8f1 100644
(file)
--- 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(!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",