Fix: rpm-ostree don't quote REPLACE_STR (#333)

rpm-ostree don't quote REPLACE_STR

Quoting ${REPLACE_STR} makes it being considered 1 package, failing pipelines
This commit is contained in:
Như Bảo Trương 2024-09-19 13:13:46 +07:00 committed by GitHub
parent 4070610b24
commit e781b0b1ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -173,7 +173,7 @@ if [[ ${#REPLACE[@]} -gt 0 ]]; then
curl -fLs --create-dirs -O "${REPO_URL}" --output-dir "/etc/yum.repos.d/"
echo "Downloaded repo file ${REPO_URL}"
rpm-ostree override replace --experimental --from "repo=copr:copr.fedorainfracloud.org:${MAINTAINER}:${REPO_NAME}" "${REPLACE_STR}"
rpm-ostree override replace --experimental --from "repo=copr:copr.fedorainfracloud.org:${MAINTAINER}:${REPO_NAME}" ${REPLACE_STR}
rm "/etc/yum.repos.d/${FILE_NAME}"
done