Skip to content

Commit 117f249

Browse files
authored
oops, directory confusion
1 parent e5bad38 commit 117f249

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/mirror-snapshot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
curl -LO "https://github.com/${{ github.repository }}/releases/download/${SNAPSHOTRELEASE}/${REPONAME}.db${sig}"
4444
done
4545
popd
46-
if [[ -n "${MSYSARCH}" ]]; then
46+
if [[ "${REPONAME}" == "msys" && -n "${MSYSARCH}" ]]; then
4747
subdir="msys/${MSYSARCH}"
4848
else
49-
subdir="mingw"
49+
subdir="mingw/${REPONAME}"
5050
fi
51-
python pacdb/examples/pacmirror_rsync.py -e "${REPONAME}" -n -v "rsync://repo.msys2.org/builds/${subdir}/${REPONAME}" "${NEWRELEASE}"
51+
python pacdb/examples/pacmirror_rsync.py -e "${REPONAME}" -n -v "rsync://repo.msys2.org/builds/${subdir}" "${NEWRELEASE}"
5252
# work around github issue with ~ in file name (turns into .)
5353
for a in "${NEWRELEASE}/"*~*; do
5454
mv "$a" "${a//\~/.}"

0 commit comments

Comments
 (0)