diff options
author | Andrei Pavel <andrei@isc.org> | 2023-01-25 15:23:53 +0100 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2023-02-03 15:57:09 +0100 |
commit | f0dfe7def20b0d1ab1c41f2430eb696205111910 (patch) | |
tree | 58d7de08312b75cd73976a9bc932de5686f52516 /hammer.py | |
parent | [#2710] spelling and formatting fix (diff) | |
download | kea-f0dfe7def20b0d1ab1c41f2430eb696205111910.tar.xz kea-f0dfe7def20b0d1ab1c41f2430eb696205111910.zip |
[#2696] hammer.py: unrelated fix for libsysrepo.so name
Diffstat (limited to 'hammer.py')
-rwxr-xr-x | hammer.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1114,7 +1114,7 @@ def _install_libyang_from_sources(ignore_errors = False): def _install_sysrepo_from_sources(ignore_errors = False): """Install sysrepo from sources.""" for prefix in ['/usr', '/usr/local']: - sysrepo_so = f'{prefix}/lib/libsysrepo.so.h' + sysrepo_so = f'{prefix}/lib/libsysrepo.so' sysrepo_header = f'{prefix}/include/sysrepo/version.h' if (os.path.exists(sysrepo_so) and os.path.exists(sysrepo_header) and execute(f"grep -F '#define SR_VERSION_MAJOR 7' '{sysrepo_header}'", raise_error=False) == 0): |