aboutsummaryrefslogtreecommitdiff
path: root/python/python3/python3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3/python3.SlackBuild')
-rw-r--r--python/python3/python3.SlackBuild2
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