Skip to content

Commit 0a73d17

Browse files
committed
Allow setting an archive cache in buildinfo script
echo export ARCH_ARCHIVE_CACHE=http://127.0.0.1/packages >> /root/.config/archlinux-repro/repro.conf
1 parent 57540f3 commit 0a73d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function parse_package () {
6969
parse <<< "$(tar xOf "${1}" .BUILDINFO 2>/dev/null)"
7070
}
7171

72-
readonly archive_url="https://archive.archlinux.org/packages"
72+
readonly archive_url="${ARCH_ARCHIVE_CACHE:-https://archive.archlinux.org/packages}"
7373

7474
# Desc: get ALA link for given package
7575
# 1: Package

0 commit comments

Comments
 (0)