[jamming] Expansion Problem?
Christopher Seiwald
seiwald at perforce.com
Wed Sep 6 09:45:59 PDT 2006
| Using jam 2.5 - is this normal?
|
| DEFAULT = e f ;
| VAR = a b c ;
| echo $(VAR:E=$(DEFAULT)) ;
|
| >jam
| a b c a b c
| ...found 7 target(s)...
|
| The E modifier should only use it's value if the variable is unset?
It's consistent with the rest of the productizing variable expansion.
Just as if you said:
DEFAULT = e f ;
VAR = ;
echo xxx-$(VAR:E=$(DEFAULT)) ;
You'd get
% jam
xxx-e xxx-f
That's not to say it is useful or not surprising, but it is the way the
rest of it works.
Christopher
More information about the jamming
mailing list