From 6a60dad27a6a7e51489dc1fa88164d5446678854 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Thu, 16 Nov 2023 15:28:18 -0700 Subject: [PATCH] fix wildcard --- sync/vault-release-no-repodata.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync/vault-release-no-repodata.sh b/sync/vault-release-no-repodata.sh index 38b7b28..c299f7f 100644 --- a/sync/vault-release-no-repodata.sh +++ b/sync/vault-release-no-repodata.sh @@ -28,7 +28,7 @@ if [ "$RLVER" -eq "9" ]; then for repo in "${MODS[@]}"; do for arch in "${ARCHES[@]}"; do mkdir -p "${TARGET}/${repo}/${arch}/os/repodata" - cp "${PRODUCTION_ROOT}/${CATEGORY_STUB}/${REV}/${repo}/${arch}/os/repodata/*MODULES.yaml.gz" "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz" + cp "${PRODUCTION_ROOT}/${CATEGORY_STUB}/${REV}/${repo}/${arch}/os/repodata/"*MODULES.yaml.gz "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz" pushd /tmp || exit 1 gunzip "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz" popd || exit 1 @@ -38,7 +38,7 @@ if [ "$RLVER" -eq "9" ]; then # groups for repo in "${MODS_REPOS[@]}"; do for arch in "${ARCHES[@]}"; do - createrepo_comps "${TARGET}/${repo}/${arch}/os" "${REV}" "${PRODUCTION_ROOT}/${CATEGORY_STUB}/${REV}/${repo}/${arch}/os/repodata/*GROUPS.xml" + createrepo_comps "${TARGET}/${repo}/${arch}/os" "${REV}" "${PRODUCTION_ROOT}/${CATEGORY_STUB}/${REV}/${repo}/${arch}/os/repodata/"*GROUPS.xml done done # no groups