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

Use --dpbath only with full path (RhBug:1696408) #677

Merged
merged 1 commit into from Apr 24, 2019

Conversation

pavlinamv
Copy link
Contributor

Before the patch rpm treats the relative path as a full path.
The new behavior is similar to the "--root" option.

Before the patch rpm treats the relative path as a full path.
The new behavior is similar to the "--root" option.
@pmatilai pmatilai self-requested a review April 24, 2019 10:33
Copy link
Member

@pmatilai pmatilai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was about to mumble about using the same code for validating this and --root so both benefit in case we ever decide to use something more elaborate than just testing for / but --root is actually handled in rpmqv.c, which is wrong because --root is supported for all our tools.

Which is a long-winded way of saying that this is the right way to do it, and --root should be fixed instead.

@pmatilai pmatilai self-assigned this Apr 24, 2019
@pmatilai pmatilai merged commit d313baf into rpm-software-management:master Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants