summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2023-01-25 15:23:53 +0100
committerAndrei Pavel <andrei@isc.org>2023-02-03 15:57:09 +0100
commitf0dfe7def20b0d1ab1c41f2430eb696205111910 (patch)
tree58d7de08312b75cd73976a9bc932de5686f52516 /hammer.py
parent[#2710] spelling and formatting fix (diff)
downloadkea-f0dfe7def20b0d1ab1c41f2430eb696205111910.tar.xz
kea-f0dfe7def20b0d1ab1c41f2430eb696205111910.zip
[#2696] hammer.py: unrelated fix for libsysrepo.so name
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hammer.py b/hammer.py
index 5bc6995402..b86a5a54b0 100755
--- a/hammer.py
+++ b/hammer.py
@@ -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):