> Good morning Norman.
 > 
 > [email protected] (Norman Ramsey) wrote:
 >  |I'm building s-nail from source.  But in the configuration step,
 >  |it mistakenly identifies /home/nr/bin/clang as a C compiler.
 >  |This script does not have its executable bit set, and therefor
 > 
 > No.
 > 
 >  |it should not be treated as a candidate C compiler.
 > 
 > We use command -v, which should not return something for which no
 > executable bit is set?

Bletch.  Yet another bug in the Debian Almquist shell, which has been
the source of other problems:

  nr@homedog ~/n/s-nail> ksh -c 'command -v clang'
  /usr/bin/clang
  nr@homedog ~/n/s-nail> bash -c 'command -v clang'
  /usr/bin/clang
  nr@homedog ~/n/s-nail> sh -c 'command -v clang'
  /home/nr/bin/clang
  nr@homedog ~/n/s-nail> dash -c 'command -v clang'
  /home/nr/bin/clang
  nr@homedog ~/n/s-nail> fish -c 'command -v clang'
  /usr/bin/clang

I have filed a bug report against dash.

 > I cannot reproduce this?

You will not be able to reproduce it except on a Debian or derivative
system where /bin/sh points to dash.


Norman

Reply via email to