add strict release check

This commit is contained in:
litingt 2014-04-22 03:01:23 -07:00
parent 8ee1cb7457
commit 5ccbf223d6

View File

@ -119,7 +119,8 @@ echo "This is an $OSNAME system"
#begin to create repo for redhat platform
if [ "$OSNAME" != "AIX" ]; then
grep -i 'Red' /etc/issue;
if [ "$OSNAME" != "AIX" -a $? -eq 0 ]; then
cat >$CURDIR/build/xCAT-core.repo << EOF
[xcat-2-core]
name=xCAT 2 Core packages