В Втр, 25/05/2010 в 12:12 +0000, Duncan пишет:
> Peter Volkov posted on Tue, 25 May 2010 11:46:12 +0400 as excerpted:
> >> sources.gentoo.org/eclass/autotools.eclass?r1=1.97&r2=1.98
> > Why "" is required at the end of file list?

> for makefile_name in {GNUmakefile,{M,m}akefile}.{am,in} "" ; do
>         [[ -f ${makefile_name} ]] && break
> done

> the purpose of the "" case, if none of the tested filename 
> variants exists, it leaves the variable empty.

Thank you Duncan. Now I see :)

-- 
Peter.


Reply via email to