From 465c25d22b5e3c7935e9333f7f6147e5225fc222 Mon Sep 17 00:00:00 2001 From: litingt Date: Mon, 9 Feb 2015 19:56:16 -0800 Subject: [PATCH] add rh7 support --- buildlocal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]