diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2015-01-15 22:19:06 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-18 09:08:57 +0700 |
commit | d9ff997b5fee7739d9a85a183dd477c4063830c9 (patch) | |
tree | e81624579fddf0a09e31da3acdc7c78c12eb83b5 /python/python3 | |
parent | 20a87df3bb9c2c752991b2275ed1f2e754665353 (diff) |
python/python3: More robust major version detection.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'python/python3')
-rw-r--r-- | python/python3/python3.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild index 908b3f9091588..b2b689ac7bb9d 100644 --- a/python/python3/python3.SlackBuild +++ b/python/python3/python3.SlackBuild @@ -52,7 +52,7 @@ else LIBDIRSUFFIX="" fi -PYVER=${VERSION::3} +PYVER=$(cut -d. -f1,2 <<< "$VERSION") set -eu |