Skip to content

Commit

Permalink
Add PYTHONMAJVER variable
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Jan 5, 2024
1 parent 57826e5 commit cabd1cf
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 @@ -2872,6 +2872,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 cabd1cf

Please sign in to comment.