diff --git a/tests/build_rpms.sh b/tests/build_rpms.sh index 5657b0f6..ce65921f 100755 --- a/tests/build_rpms.sh +++ b/tests/build_rpms.sh @@ -61,7 +61,8 @@ yum -y install \ rrdtool-devel if [[ $BUILD_ENV == osg* ]]; then - OSG_SERIES="$(cut -d- -f2 <<< "$BUILD_ENV")-main" + OSG_SERIES=$(cut -d- -f2 <<< "$BUILD_ENV") + OSG_SERIES="${OSG_SERIES}-main" yum install -y https://repo.opensciencegrid.org/osg/${OSG_SERIES}/osg-${OSG_SERIES}-el${OS_VERSION}-release-latest.rpm else # This is currently tracking the 10.x feature release.