common/autoconf/platform.m4

changeset 2188
d75ef5fa5b02
parent 2164
d880fd7491af
child 2316
64a3eeabf6e5
     1.1 --- a/common/autoconf/platform.m4	Mon Aug 06 13:27:16 2018 +0800
     1.2 +++ b/common/autoconf/platform.m4	Fri Sep 07 10:22:27 2018 +0800
     1.3 @@ -580,6 +580,12 @@
     1.4      BUILDER_NAME=`cat /etc/issue | head -n 1 | cut -d " " -f 1`
     1.5    fi
     1.6  fi
     1.7 +if test -f /etc/redhat-release; then
     1.8 +  etc_issue_info=`cat /etc/redhat-release`
     1.9 +  if test -n "$etc_issue_info"; then
    1.10 +    BUILDER_NAME=`cat /etc/redhat-release | head -n 1 | cut -d " " -f 1`
    1.11 +  fi
    1.12 +fi
    1.13  if test -f /etc/neokylin-release; then
    1.14    etc_issue_info=`cat /etc/neokylin-release`
    1.15    if test -n "$etc_issue_info"; then

mercurial