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)