Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: always check dest for globbed %files #262

Merged
merged 2 commits into from
Aug 18, 2021
Merged

Conversation

dtrudg
Copy link
Member

@dtrudg dtrudg commented Aug 18, 2021

Description of the Pull Request (PR):

When the source in a %files entry is a glob that matches multiple files, and the destination is "", make sure we always set the correct real destination for each file.

This is a fix for a case not tested, and not handled properly in #197

This fixes or addresses the following GitHub issues:

Before submitting a PR, make sure you have done the following:

@dtrudg dtrudg added bug Something isn't working ci:e2e labels Aug 18, 2021
@dtrudg dtrudg added this to the SingularityCE 3.8.2 milestone Aug 18, 2021
@dtrudg dtrudg self-assigned this Aug 18, 2021
When the source in a `%files` entry is a glob that matches multiple files, and the destination is `""`, make sure we always set the correct real destination for each file.

Fixes sylabs#261
@dtrudg dtrudg marked this pull request as ready for review August 18, 2021 21:53
@dtrudg dtrudg merged commit 08fe472 into sylabs:master Aug 18, 2021
@dtrudg dtrudg deleted the issue261 branch August 18, 2021 22:32
dtrudg added a commit that referenced this pull request Aug 18, 2021
Cherry pick #262 for release-3.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci:e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only one output file when copying multiple globbed files to "" destination
2 participants