diff options
author | Razvan Becheriu <razvan@isc.org> | 2019-08-09 08:46:38 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2019-08-16 19:11:03 +0200 |
commit | fceb85995ea3a1ab1fccd5172b086aeb79fad522 (patch) | |
tree | 357d6c467dbcb6e566f43c9f96831f8b04d6bd7e /tools | |
parent | [#810, !471] fixed sphinx docs (diff) | |
download | kea-fceb85995ea3a1ab1fccd5172b086aeb79fad522.tar.xz kea-fceb85995ea3a1ab1fccd5172b086aeb79fad522.zip |
[#810, !471] fixed sphinx docs
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/sysrepo_config | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/sysrepo_config b/tools/sysrepo_config index fd28a86a46..ba15afe5a8 100755 --- a/tools/sysrepo_config +++ b/tools/sysrepo_config @@ -78,10 +78,8 @@ if [ "$1" = "--libs" ]; then fi if [ "$1" = "--modversion" ]; then - MAJOR="1" - MINOR="0" - PATCH="0" - echo "${MAJOR}.${MINOR}.${PATCH}" + VERSION=$(sysrepoctl -v | tr -s " " | cut -d " " -f 7) + echo "${VERSION}" exit 0 fi |