Date: Tue, 30 May 2006 07:24:31 +0200
   From: Ralf Wildenhues <[EMAIL PROTECTED]>

   * Sam Sirlin wrote on Mon, May 29, 2006 at 10:41:03PM CEST:
   >    From: Ralf Wildenhues <[EMAIL PROTECTED]>

   >      /bin/bash --version
   >      echo $PATH
   >      type mkdir expr dirname basename
   > 
   > dirname is apparently the issue. I had an old dirname shell script
   > lying around from 1989 in my path (version 1.5). It worked well enough
   > for the old  2.59 configure, but not for the new one which seems to
   > use a new construction "dirname -- ..."

   Is your script home-grown or does it have some wider usage?  What does
   it output upon
     dirname -- /

It's old code from SVr2, so it may be lurking around on old systems. I
probably grabbed it someday before sun had added it in (sun4?). 

kalessin{sam} > old_dirname -- /
.

sun solaris 9 has apparently a shell script  v 1.7  (SVr4) that
behaves more like gnu:

kalessin{sam} > /usr/bin/dirname -- /
/

I've tried this and it works with the new configure.

   ?  I'm asking because maybe we can easily rule that out as non-working,
   maybe even just by
      if (as_d=`dirname -- /` && test "$as_d" = /) >/dev/null 2>&1; then
        echo good
      else
        echo bad
      fi

Sam Sirlin
Email: [EMAIL PROTECTED]





_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to