Am Dienstag, 13. März 2007 01:14 schrieb Thomas de Grenier de Latour: > On 2007/03/12, Ned Ludd <[EMAIL PROTECTED]> wrote: > > Matches "`which " > > ... > > And matches "$(which " > > ... > > Also there are some occurences in eclasses:
> ./eclass/fortran.eclass: > elif [ -x "$(which ifc 2> /dev/null)" ]; then > ./eclass/fortran.eclass: > if [ -x "$(which f2c 2> /dev/null)" ]; then > ./eclass/fortran.eclass: > if [ -x "$(which g77 2> /dev/null)" ]; then > ./eclass/fortran.eclass: > if [ -x "$(which gfortran 2> /dev/null)" ]; then > ./eclass/fortran.eclass: > if [ -x "$(which ifort 2> /dev/null)" ]; then ^^^ fixed. > > And in a few more ebuilds ("if which", plus a few weirdnesses): > > ./sci-libs/plplot/plplot-5.5.2.ebuild: > use fortran && ! use ifc || if [ -z 'which g77' ]; then > ./sci-visualization/xd3d/xd3d-8.2.1.ebuild: > which g77 2> /dev/null || die "No GNU Fortran compiler found!" ^^^ fixed, too. Danny -- Danny van Dyk <[EMAIL PROTECTED]> Gentoo/AMD64 Project, Gentoo Scientific Project -- gentoo-dev@gentoo.org mailing list