Re: /etc/profile.d/lilypond-profile.sh and basename

2005-03-10 Thread Eric Blake
> > > I think that just adding a -- is a better fix: > > > > if [ -z "$ZSH_NAME" -a `basename -- "$0"` = "lilypond-profile" ] ; the > > > > cgf > > This also fixes the problem for me and is clearly the better solution. > basename > --help does not mention this option. Actually, all coreutils

Re: /etc/profile.d/lilypond-profile.sh and basename

2005-03-10 Thread Wheeler, Frederick W \(Research\)
> I think that just adding a -- is a better fix: > > if [ -z "$ZSH_NAME" -a `basename -- "$0"` = "lilypond-profile" ] ; the > > cgf This also fixes the problem for me and is clearly the better solution. basename --help does not mention this option. Fred Wheeler -- Unsubscribe info: http:

Re: /etc/profile.d/lilypond-profile.sh and basename

2005-03-10 Thread Christopher Faylor
On Thu, Mar 10, 2005 at 09:11:15AM -0500, Wheeler, Frederick W (Research) wrote: >In Cygwin, when I ssh to my machine, I get the following error from basename > >% ssh d1 >Last login: Thu Mar 10 08:54:40 2005 from caleb.crd.ge.com >basename: invalid option -- b >Try `basename --help' for more infor