mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +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=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PYVER=${VERSION::3}
|
PYVER=$(cut -d. -f1,2 <<< "$VERSION")
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue