Skip to content

Commit

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

[release-4.12] openshift-hack: Fix sporadic 141 errors in build-rpms
  • Loading branch information
openshift-ci[bot] committed Oct 21, 2023
2 parents 20cda61 + 1f6e809 commit 31e0558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openshift-hack/build-rpms.sh
Original file line number Diff line number Diff line change
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 31e0558

Please sign in to comment.