Fix mock --shell: create /etc/yum.repos.d with mkdir -p before writing repo file
This commit is contained in:
parent
5820feee12
commit
de70b9ccc0
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
REPO_CONTENT=$(curl -fsSL https://pc-rytteren.dk/forge/api/packages/anders/rpm.repo)
|
||||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--shell "echo '${REPO_CONTENT}' > /etc/yum.repos.d/sonicde.repo"
|
||||
--shell "mkdir -p /etc/yum.repos.d && echo '${REPO_CONTENT}' > /etc/yum.repos.d/sonicde.repo"
|
||||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--resultdir "${HOME}/mock-results" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue