From 0c70393640953018dbb788ac689df51879210297 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 2 Dec 2019 18:48:18 +0100 Subject: [PATCH] Updated __version() function --- slackbuild/slpkg.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slackbuild/slpkg.SlackBuild b/slackbuild/slpkg.SlackBuild index 437131cd..787f9b53 100755 --- a/slackbuild/slpkg.SlackBuild +++ b/slackbuild/slpkg.SlackBuild @@ -24,8 +24,8 @@ __version() { # Grab version from __metadata_.py file -cat ../slpkg/__metadata__.py | grep "__version_info__ = (" \ - | tr -d [[:space:]] | cut -c19-23 | tr , . +cat ../slpkg/__metadata__.py | grep \"__version_info__ = (\" \ + | tr -d [[:space:]] | cut -c19-23 | tr , . } PRGNAM=slpkg