Message79877
I guess you mean the following:
${var:-value}
Old BSD shells, including the Ultrix sh, don't accept the colon for
any shell substitution, and complain and die.
If so, should we just go forward without the colon? The bash manpage
indicates the following:
In each of the cases below, ... bash tests for a parameter that is
unset or null; omitting the colon results in a test only for a
parameter that is unset.
So, if a user executes "make DESTDIR= install", then the build will
fail. Or, maybe we shouldn't worry about that corner case.
What do you think? |
|
Date |
User |
Action |
Args |
2009-01-14 21:58:37 | jlt63 | set | recipients:
+ jlt63, rpetrov |
2009-01-14 21:58:37 | jlt63 | set | messageid: <1231970317.07.0.333868771594.issue2233@psf.upfronthosting.co.za> |
2009-01-14 21:58:36 | jlt63 | link | issue2233 messages |
2009-01-14 21:58:35 | jlt63 | create | |
|