From: manu Date: Wed, 2 Dec 2020 23:14:40 +0000 (+0100) Subject: Fix the issue with CentOS 8 not being recognized X-Git-Tag: Kea-1.9.3~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=557d33ced492ca6babfb227846cf977db0378f2c;p=thirdparty%2Fkea.git Fix the issue with CentOS 8 not being recognized --- diff --git a/hammer.py b/hammer.py old mode 100755 new mode 100644 index 8db46b7d0d..324ceb9d0d --- 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