mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated __version() function
This commit is contained in:
parent
efeb7a9059
commit
0c70393640
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue