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 Python version detection in Makefile #67

Merged
merged 2 commits into from
Sep 12, 2023
Merged

Fix Python version detection in Makefile #67

merged 2 commits into from
Sep 12, 2023

Conversation

Alex-Burmak
Copy link
Member

No description provided.

Makefile Outdated

.PHONY: check-environment
check-environment:
@if ! command -v ${PYTHON} > /dev/null; then \
Copy link
Contributor

@aalexfvk aalexfvk Sep 11, 2023

Choose a reason for hiding this comment

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

I'm not sure about /dev/null in the makefile. For example, it is not mounted in chroot created in teamcity by pbuilder for building deb package and we will get an error.

Copy link
Member Author

Choose a reason for hiding this comment

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

Rewrote the check to not use /dev/null.

@aalexfvk aalexfvk merged commit b7e1921 into main Sep 12, 2023
11 checks passed
@aalexfvk aalexfvk deleted the check_env branch September 12, 2023 07:23
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.

2 participants