Skip to content

Commit

Permalink
Fix: rpm-ostree don't quote REPLACE_STR (#333)
Browse files Browse the repository at this point in the history
rpm-ostree don't quote REPLACE_STR

Quoting ${REPLACE_STR} makes it being considered 1 package, failing pipelines
  • Loading branch information
nhubaotruong authored Sep 19, 2024
1 parent 4070610 commit e781b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rpm-ostree/rpm-ostree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e781b0b

Please sign in to comment.