578 etc_issue_info=`cat /etc/issue` |
578 etc_issue_info=`cat /etc/issue` |
579 if test -n "$etc_issue_info"; then |
579 if test -n "$etc_issue_info"; then |
580 BUILDER_NAME=`cat /etc/issue | head -n 1 | cut -d " " -f 1` |
580 BUILDER_NAME=`cat /etc/issue | head -n 1 | cut -d " " -f 1` |
581 fi |
581 fi |
582 fi |
582 fi |
|
583 if test -f /etc/redhat-release; then |
|
584 etc_issue_info=`cat /etc/redhat-release` |
|
585 if test -n "$etc_issue_info"; then |
|
586 BUILDER_NAME=`cat /etc/redhat-release | head -n 1 | cut -d " " -f 1` |
|
587 fi |
|
588 fi |
583 if test -f /etc/neokylin-release; then |
589 if test -f /etc/neokylin-release; then |
584 etc_issue_info=`cat /etc/neokylin-release` |
590 etc_issue_info=`cat /etc/neokylin-release` |
585 if test -n "$etc_issue_info"; then |
591 if test -n "$etc_issue_info"; then |
586 BUILDER_NAME=`cat /etc/neokylin-release | head -n 1 | cut -d " " -f 1` |
592 BUILDER_NAME=`cat /etc/neokylin-release | head -n 1 | cut -d " " -f 1` |
587 fi |
593 fi |