Fixed bash function script

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-12-07 19:12:34 +02:00
parent 7fd2734787
commit 39af1b6420
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@
__version() { __version() {
# Grab version from __metadata_.py file # 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 PRGNAM=slpkg

View file

@ -24,7 +24,7 @@
__version() { __version() {
# Grab version from __metadata_.py file # 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) cd $(dirname $0) ; CWD=$(pwd)