diff --git a/modules/rpm-ostree/rpm-ostree.sh b/modules/rpm-ostree/rpm-ostree.sh index e60ea8d00b..5c89744c62 100644 --- a/modules/rpm-ostree/rpm-ostree.sh +++ b/modules/rpm-ostree/rpm-ostree.sh @@ -9,7 +9,7 @@ if [[ ${#REPOS[@]} -gt 0 ]]; then echo "Adding repositories" for REPO in "${REPOS[@]}"; do REPO="${REPO//%OS_VERSION%/${OS_VERSION}}" - wget "${REPO}" -P "/etc/yum.repos.d/" + wget "${REPO//[$'\t\r\n ']}" -P "/etc/yum.repos.d/" done fi