diff options
author | jelle van der Waa <jelle@archlinux.org> | 2019-10-15 23:17:00 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-10-15 23:30:23 +0200 |
commit | 29c6fa85373324c027c4ca3965707422187881d6 (patch) | |
tree | 36d40637d62c1ddad1f1f574cfb51531e9d1aa33 | |
parent | 74f65db396038caafcba20e4302fba080d8cc100 (diff) | |
download | devtools-29c6fa85373324c027c4ca3965707422187881d6.tar.xz |
sogrep: redirect to destination mirror (#25)
Some mirrors redirect consumers to a near by mirror which isn't handled
by sogrep.
-rwxr-xr-x | sogrep.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ recache() { for arch in "${arches[@]}"; do rm -rf "${SOCACHE_DIR}/${arch}/${repo}" mkdir -p "${SOCACHE_DIR}/${arch}/${repo}" - curl "$verbosity" "${SOLINKS_MIRROR}/${repo}/os/${arch}/${repo}.links.tar.gz" | bsdtar -xf - -C "${SOCACHE_DIR}/${arch}/${repo}" + curl -L "$verbosity" "${SOLINKS_MIRROR}/${repo}/os/${arch}/${repo}.links.tar.gz" | bsdtar -xf - -C "${SOCACHE_DIR}/${arch}/${repo}" done done } |