From 39af1b64206d85f89b11085a114f5e78b0b24616 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 7 Dec 2022 19:12:34 +0200 Subject: [PATCH] Fixed bash function script Signed-off-by: Dimitris Zlatanidis --- install.sh | 2 +- slackbuild/slpkg.SlackBuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 270c1156..85ca0079 100755 --- a/install.sh +++ b/install.sh @@ -24,7 +24,7 @@ __version() { # Grab version from __metadata_.py file -cat setup.cfg | grep "version =" | tr -d [[:space:]] | cut -c9-13 | tr , . +cat setup.cfg | grep "version =" | tr -d "[:space:]" | cut -c9-13 | tr , . } PRGNAM=slpkg diff --git a/slackbuild/slpkg.SlackBuild b/slackbuild/slpkg.SlackBuild index d5ce5569..b0d43695 100755 --- a/slackbuild/slpkg.SlackBuild +++ b/slackbuild/slpkg.SlackBuild @@ -24,7 +24,7 @@ __version() { # Grab version from __metadata_.py file -cat ../setup.cfg | grep "version =" | tr -d [[:space:]] | cut -c9-13 | tr , . +cat ../setup.cfg | grep "version =" | tr -d "[:space:]" | cut -c9-13 | tr , . } cd $(dirname $0) ; CWD=$(pwd)