From d9ff997b5fee7739d9a85a183dd477c4063830c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Thu, 15 Jan 2015 22:19:06 +0200 Subject: python/python3: More robust major version detection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Audrius Kažukauskas --- python/python3/python3.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/python3') diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild index 908b3f9091..b2b689ac7b 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 -- cgit v1.2.3