Expand variables in the command to be run

Bug #1705589 reported by rojer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
git-build-recipe
New
Undecided
Unassigned

Bug Description

I wanted to record some bits and pieces used in the version to embed in the binary later.
Tried to do the following:

```
run echo {revtime} > mos/version
run echo {revtime}+{git-commit}-xenial0 > mos/build_id
```

and learned that vars are not expanded in the command to run.
Would be nice if they were.

I can implement it and submit a patch, if there are no objections in principle.

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.