courier-imap 1.6.2 has some a shell portability bug in its configure
scripts.  They set IFS=: and then use "for var in $PATH:/usr/local/bin".
$ find courier-imap-1.6.2 -name configure.in | xargs grep PATH:/usr/local/bin
AFAIK, Solaris is the only platform where this works as intended.  On
all other shells I've tested (Net/FreeBSD's /bin/sh, bash, pdksh),
$PATH will be split at colons, but the last component will be joined
with :/usr/local/bin to produce a path which probably does not exist.

The effect is that a command may not be found when it is present in
the last component of $PATH or in /usr/local/bin, and it may be found
in the wrong place if a directory such as /usr/bin:/usr/local/bin
happens to exist for some reason.

Fix: use a space instead of a colon to separate $PATH from
/usr/local/bin.  That works on all shells.


paul


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to