In article <[EMAIL PROTECTED]> you wrote:
>>the script util/ranlib.sh is brittle since it assumes any ranlib in /bin or
>>/usr/bin is OK to use. In my case the "real" ranlib lives in
>>/opt/binutils/bin
> 
> Would that work?
> 
> if [ -s `which ranlib` ] ; then
>         RL=`which ranlib`

No, using "which" is unportable. When we really want to find out whether
ranlib is available we've to interate over $PATH manually as we do it inside
Apache for various programs. 
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to