Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[deferred-sources] fix glob expansion issue in deferred sources mappe… #6824
When there is more than one sources_target to unpack, there is a bug where the deferred sources mapper raises this exception.
This is because the last value of a local var set inside one loop is reused in a subsequent loop without resetting its value.
Hold onto the unpack dirs in the first loop and zip their values together with the appropriate target in the second.
Includes an adjustment to an integration test that causes it to encounter the failure.