summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
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):