]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Fix the issue with CentOS 8 not being recognized
authormanu <manu@isc.org>
Wed, 2 Dec 2020 23:14:40 +0000 (00:14 +0100)
committermanu <manu@isc.org>
Wed, 2 Dec 2020 23:14:40 +0000 (00:14 +0100)
hammer.py [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 8db46b7..324ceb9
--- a/hammer.py
+++ b/hammer.py
@@ -219,6 +219,8 @@ def get_system_revision():
         revision = platform.release()
     if '"' in revision:
         revision = revision.replace('"', '')
+    if '"' in system:
+        system = system.replace('"', '')
     return system.lower(), revision