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

bpo-39761: Fix dtrace build with empty $DFLAGS #18766

Merged
merged 1 commit into from
Mar 11, 2020

Conversation

encukou
Copy link
Member

@encukou encukou commented Mar 3, 2020

This should fix a regression introduced in bpo-38960.

When DFLAGS was empty, "$DFLAGS" results in an empty argument (""). Without the quotes, an empty variable will be ignored by the shell.

https://bugs.python.org/issue39761

This fixes a regression introduced in bpo-38960.
@encukou
Copy link
Member Author

encukou commented Mar 3, 2020

@dcarlier-afilias, could you check if this builds on FreeBSD?
For the record, what value are you using for DFLAGS?

@ghost
Copy link

ghost commented Mar 3, 2020

This solution seems to work on FreeBSD.

@encukou encukou merged commit 3c97e1e into python:master Mar 11, 2020
@encukou encukou deleted the dtrace-build-fix branch March 11, 2020 13:27
@dcarlier-afilias dcarlier-afilias mannequin mentioned this pull request May 18, 2022
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.

3 participants