Skip to content

Commit

Permalink
Merge pull request #1773 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1769-to-release-4.13

[release-4.13] openshift-hack: Fix sporadic 141 errors in build-rpms
  • Loading branch information
openshift-ci[bot] committed Oct 20, 2023
2 parents cfc6661 + fae8503 commit 636f2be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openshift-hack/build-rpms.sh
Expand Up @@ -31,7 +31,8 @@ fi
os::build::rpm::get_nvra_vars

OS_RPM_SPECFILE="$( find "${OS_ROOT}" -name '*.spec' )"
OS_RPM_NAME="$( rpmspec -q --qf '%{name}\n' "${OS_RPM_SPECFILE}" | head -1 )"
OS_RPM_SPECQUERY="$( rpmspec -q --qf '%{name}\n' "${OS_RPM_SPECFILE}" )"
OS_RPM_NAME="$( head -1 <<< "${OS_RPM_SPECQUERY}" )"

os::log::info "Building release RPMs for ${OS_RPM_SPECFILE} ..."

Expand Down

0 comments on commit 636f2be

Please sign in to comment.