Updated __version() function

This commit is contained in:
Dimitris Zlatanidis 2019-12-02 18:48:18 +01:00
parent efeb7a9059
commit 0c70393640

View file

@ -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