-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that correct python version is used for build - PYTHON_EXECUTA…
…BLE (RhBug:1598988) (#1129) * Ensure that correct python version is used for build (RhBug:1598988) * PYTHON_DESIRED can be either "2", "3" or a path to interpreter
- Loading branch information
Showing
3 changed files
with
18 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
if (${PYTHON_DESIRED} STREQUAL "2") | ||
INSTALL (PROGRAMS "dnf-2" DESTINATION bin) | ||
INSTALL (PROGRAMS "dnf-automatic-2" DESTINATION bin) | ||
else() | ||
INSTALL (PROGRAMS "dnf-3" DESTINATION bin) | ||
INSTALL (PROGRAMS "dnf-automatic-3" DESTINATION bin) | ||
endif() | ||
INSTALL (PROGRAMS "dnf-${PYTHON_VERSION_MAJOR}" DESTINATION bin) | ||
INSTALL (PROGRAMS "dnf-automatic-${PYTHON_VERSION_MAJOR}" DESTINATION bin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters