1 |
В Втр, 25/05/2010 в 12:12 +0000, Duncan пишет: |
2 |
> Peter Volkov posted on Tue, 25 May 2010 11:46:12 +0400 as excerpted: |
3 |
> >> sources.gentoo.org/eclass/autotools.eclass?r1=1.97&r2=1.98 |
4 |
> > Why "" is required at the end of file list? |
5 |
|
6 |
> for makefile_name in {GNUmakefile,{M,m}akefile}.{am,in} "" ; do |
7 |
> [[ -f ${makefile_name} ]] && break |
8 |
> done |
9 |
|
10 |
> the purpose of the "" case, if none of the tested filename |
11 |
> variants exists, it leaves the variable empty. |
12 |
|
13 |
Thank you Duncan. Now I see :) |
14 |
|
15 |
-- |
16 |
Peter. |