mockbuild: Fix path to latest repo
Using `cp` to copy the repo content caused the last part of the path to be duplicated: Current: `master/latest/rhel82_x86_64/rhel82_x86_64/repodata/repomd.xml` Desired: `master/latest/rhel82_x86_64/repodata/repomd.xml` Remove the VERSION_ID/ARCH from the destination to remove the duplicated path. Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
be2ce10b75
commit
a93143ea0c
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ REPO_DIR=repo/${JOB_NAME}/${POST_MERGE_SHA}/${ID}${VERSION_ID//./}_${ARCH}
|
|||
|
||||
# Maintain a directory for the master branch that always contains the latest
|
||||
# RPM packages.
|
||||
REPO_DIR_LATEST=repo/${JOB_NAME}/latest/${ID}${VERSION_ID//./}_${ARCH}
|
||||
REPO_DIR_LATEST=repo/${JOB_NAME}/latest
|
||||
|
||||
# Full URL to the RPM repository after they are uploaded.
|
||||
REPO_URL=${MOCK_REPO_BASE_URL}/${JOB_NAME}/${POST_MERGE_SHA}/${ID}${VERSION_ID//./}_${ARCH}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue