% substitutions aren't evaluated in options() section

Bug #347127 reported by Paul Jimenez
2
Affects Status Importance Assigned to Milestone
Vellum
Triaged
High
Unassigned

Bug Description

Try this:

options(
    default "break"
    foo "foo"
    foobar "%(foo)s/bar"
)

depends()

targets(
    break $ echo foobar: %(foobar)s
)

and watch it break. I think vellum needs to do string substitution as it goes through the options() originally, or as part of a post-options-parsing pass.

Revision history for this message
Ali Afshar (aafshar) wrote :

Substitutions are a total mess, unfortunately.

Changed in vellum:
status: New → Confirmed
Ali Afshar (aafshar)
Changed in vellum:
importance: Undecided → High
Changed in vellum:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.