mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-25 09:58:41 +01:00
Fixed bash function script
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
7fd2734787
commit
39af1b6420
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue