Colcon plugin: can't run twice with eloquent
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Running once works as expected. Running again results in the following error:
The build time path "/opt/ros/eloquent" doesn't exist. Either source a script for a different shell or set the environment variable "AMENT_CURRENT_PREFIX" explicitly.
This is because the stage-packages are unpacked again and the prefix-fixing happens too late (since lifecycle ends up causing env() to run before build() is called).
Evaluation history
No evaluation history available.