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

Wheeler, Frederick W (Research) wheeler@crd.ge.com
Thu Mar 10 18:01:00 GMT 2005


> 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://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list