abuild: use fetch_uri_mirror when downloading sources
This commit is contained in:
parent
9ce1d67910
commit
c6f4cb7286
|
@ -192,7 +192,7 @@ default_fetch() {
|
||||||
mkdir -p "$srcdir"
|
mkdir -p "$srcdir"
|
||||||
for s in $source; do
|
for s in $source; do
|
||||||
if is_remote "$s"; then
|
if is_remote "$s"; then
|
||||||
uri_fetch "$s" || return 1
|
uri_fetch_mirror "$s" || return 1
|
||||||
ln -sf "$SRCDEST/${s##*/}" "$srcdir"/
|
ln -sf "$SRCDEST/${s##*/}" "$srcdir"/
|
||||||
else
|
else
|
||||||
ln -sf "$startdir/$s" "$srcdir/"
|
ln -sf "$startdir/$s" "$srcdir/"
|
||||||
|
|
Loading…
Reference in New Issue