2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

Merge pull request #6356 from cxhong/6355

copycds_iso test case failed if os has multiple '.'
This commit is contained in:
Mark Gurevich
2019-06-12 13:25:28 -04:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ if [[ $OS != *"rhels"* ]]; then
exit 0
fi
MAJOR_OS_VER=${OS%.*}
MAJOR_OS_VER=`echo $OS | cut -d'.' -f1`
if [[ $OS == *"$MAJOR_OS_VER"* ]]; then
IFS='
'