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

xbps-src: do not allow /usr/share/man/man #38279

Merged
merged 2 commits into from Sep 10, 2022
Merged

Conversation

Duncaen
Copy link
Member

@Duncaen Duncaen commented Jul 26, 2022

There is only a single package (coturn) using the directory because the --manprefix configure argument from the gnu-configure build style uses /usr/share/man while the configure script expected /usr/share.

Use build_style=configure as this is not a gnu-configure script.
Specifically the --manprefix argument works different in gnu configure.
@@ -108,6 +108,11 @@ hook() {
error=1
fi

if [[ -d ${PKGDESTDIR}/usr/share/man/man ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

All conditions around this line use single [, double [ shouldn't be necessary.

@classabbyamp classabbyamp added the xbps-src xbps-src related label Aug 21, 2022
@Duncaen Duncaen merged commit 81eed01 into void-linux:master Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xbps-src xbps-src related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants