mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated __version() function
This commit is contained in:
parent
efeb7a9059
commit
0c70393640
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
__version() {
|
__version() {
|
||||||
# Grab version from __metadata_.py file
|
# Grab version from __metadata_.py file
|
||||||
cat ../slpkg/__metadata__.py | grep "__version_info__ = (" \
|
cat ../slpkg/__metadata__.py | grep \"__version_info__ = (\" \
|
||||||
| tr -d [[:space:]] | cut -c19-23 | tr , .
|
| tr -d [[:space:]] | cut -c19-23 | tr , .
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue