fix if, or, and
`$(if CONDITION,THEN-PART[,ELSE-PART])'
...
The first argument, CONDITION, first has all preceding and
trailing whitespace stripped, then is expanded. If it expands to
any non-empty string, then the condition is considered to be true.
If it expands to an empty string, the condition is considered to
be false.
...
`$(or CONDITION1[,CONDITION2[,CONDITION3...]])'
The `or' function provides a "short-circuiting" OR operation.
Each argument is expanded, in order. If an argument expands to a
non-empty string the processing stops and the result of the
expansion is that string. If, after all arguments are expanded,
all of them are false (empty), then the result of the expansion is
the empty string.
`$(and CONDITION1[,CONDITION2[,CONDITION3...]])'
The `and' function provides a "short-circuiting" AND operation.
Each argument is expanded, in order. If an argument expands to an
empty string the processing stops and the result of the expansion
is the empty string. If all arguments expand to a non-empty
string then the result of the expansion is the expansion of the
last argument.
1 file changed