Skip to content

Commit

Permalink
Avoid using /dev/null for better portability
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Burmak committed Sep 12, 2023
1 parent 0e302ca commit 7ff4bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ install-deps: check-environment .install-deps

.PHONY: check-environment
check-environment:
@if ! command -v ${PYTHON} > /dev/null; then \
@test="$(command -v ${PYTHON})"; if [ $$? -eq 1 ]; then \
echo 'Python interpreter "${PYTHON}" ($$PYTHON) not found' >&2; exit 1; \
fi
@if [ -z "${PYTHON_VERSION}" ]; then \
Expand Down

0 comments on commit 7ff4bf8

Please sign in to comment.