forked from sig_core/toolkit
fix wildcard
This commit is contained in:
parent
8c2122decc
commit
6a60dad27a
@ -28,7 +28,7 @@ if [ "$RLVER" -eq "9" ]; then
|
|||||||
for repo in "${MODS[@]}"; do
|
for repo in "${MODS[@]}"; do
|
||||||
for arch in "${ARCHES[@]}"; do
|
for arch in "${ARCHES[@]}"; do
|
||||||
mkdir -p "${TARGET}/${repo}/${arch}/os/repodata"
|
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
|
pushd /tmp || exit 1
|
||||||
gunzip "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz"
|
gunzip "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz"
|
||||||
popd || exit 1
|
popd || exit 1
|
||||||
@ -38,7 +38,7 @@ if [ "$RLVER" -eq "9" ]; then
|
|||||||
# groups
|
# groups
|
||||||
for repo in "${MODS_REPOS[@]}"; do
|
for repo in "${MODS_REPOS[@]}"; do
|
||||||
for arch in "${ARCHES[@]}"; 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
|
||||||
done
|
done
|
||||||
# no groups
|
# no groups
|
||||||
|
Loading…
Reference in New Issue
Block a user