mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +08:00
build: Use python3 instead of python symlink
The python symlink is not present on all systems. python3 should likely always be available if python3 is installed
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
||||||
|
|
||||||
macro(get_version_number)
|
macro(get_version_number)
|
||||||
execute_process(COMMAND python scripts/utils.py --version
|
execute_process(COMMAND python3 scripts/utils.py --version
|
||||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE SWIFT_VERSION
|
OUTPUT_VARIABLE SWIFT_VERSION
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
|||||||
Reference in New Issue
Block a user