mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
python/python3: More robust major version detection.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
This commit is contained in:
parent
20a87df3bb
commit
d9ff997b5f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
PYVER=${VERSION::3}
|
||||
PYVER=$(cut -d. -f1,2 <<< "$VERSION")
|
||||
|
||||
set -eu
|
||||
|
||||
|
|
Loading…
Reference in a new issue