diff --git a/buildlocal.sh b/buildlocal.sh index 206da9c88..fa4e6dfa6 100755 --- a/buildlocal.sh +++ b/buildlocal.sh @@ -141,7 +141,7 @@ echo "This is an $OSNAME system" #begin to create repo for redhat platform - grep -i 'Red' /etc/issue; + grep -i 'Red' /etc/*release*; if [ "$OSNAME" != "AIX" -a $? -eq 0 ]; then cat >$CURDIR/build/xCAT-core.repo << EOF [xcat-2-core]