[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting web content past distcheck
From: |
Stepan Kasal |
Subject: |
Re: Getting web content past distcheck |
Date: |
Mon, 18 Oct 2004 11:08:53 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Fri, Oct 15, 2004 at 10:13:15AM +0200, address@hidden wrote:
> > WEBDIR=${WEBDIR-\$(pkgdatadir)}
>
> Isn't it ${WEBDIR:-\$(pkgdatadir)}?
> ^^^
``man bash'' says:
... omitting the colon results in a test only for a parameter that is unset.
As for the portability, autoconf manual says:
`${VAR:-VALUE}'
Old BSD shells, including the Ultrix `sh', don't accept the colon
for any shell substitution, and complain and die.
And it doesn't seem to have anything against plain ${VAR-VALUE}.
We usually want to respect a parameter if it is set to empty string.
This, together with the small portability issue, probably led to the
decision to use ${VAR-VALUE} in autoconf.
HTH,
Stepan Kasal
- Getting web content past distcheck, John Kodis, 2004/10/13
- Re: Getting web content past distcheck, Richard Bos, 2004/10/13
- Re: Getting web content past distcheck, John Kodis, 2004/10/13
- Re: Getting web content past distcheck, Ralf Corsepius, 2004/10/14
- Re: Getting web content past distcheck, John Kodis, 2004/10/14
- Re: Getting web content past distcheck, tomas, 2004/10/15
- Re: Getting web content past distcheck, Ralf Corsepius, 2004/10/15
- Re: Getting web content past distcheck, tomas, 2004/10/18
- Re: Getting web content past distcheck,
Stepan Kasal <=
- Re: Getting web content past distcheck, John Kodis, 2004/10/16