Skip to content

Commit

Permalink
Merge pull request #1387 from citrus-it/python
Browse files Browse the repository at this point in the history
Add PYTHONMAJVER variable
  • Loading branch information
hadfl authored Jan 5, 2024
2 parents 563028f + cabd1cf commit 8a15ae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2873,6 +2873,7 @@ build_dependency() {

set_python_version() {
PYTHONVER=$1
PYTHONMAJVER=${PYTHONVER%%.*}
PYTHONPKGVER=${PYTHONVER//./}
PYTHONPATH=$PREFIX
PYTHON=/usr/bin/python$PYTHONVER
Expand Down

0 comments on commit 8a15ae0

Please sign in to comment.