fix build

This commit is contained in:
Edison Su 2011-01-07 08:31:26 -05:00
parent a0ce28b769
commit daea474baa
1 changed files with 2 additions and 2 deletions

View File

@ -110,9 +110,9 @@ elif _exists("/etc/centos-release"): conf.env.DISTRO = "CentOS"
elif _exists("/etc/redhat-release"):
version = file("/etc/redhat-release").readline()
if version.find("Red Hat Enterprise Linux Server release 6") != -1:
conf.env.DISTRO = RHEL6
conf.env.DISTRO = "RHEL6"
elif version.find("Centos release") != -1:
conf.env.DISTRO = CentOS
conf.env.DISTRO = "CentOS"
else: conf.env.DISTRO = "unknown"
if conf.env.DISTRO == "unknown": c = "YELLOW"
else: c = "GREEN"