common: retry ftp download during CI
This commit is contained in:
parent
3d18522142
commit
588e8cdb7b
3 changed files with 18 additions and 4 deletions
|
@ -13,6 +13,8 @@ if [ -r /proc/cpuinfo ]; then
|
|||
NPROCS=$(grep ^proc /proc/cpuinfo|wc -l)
|
||||
fi
|
||||
|
||||
export FTP_RETRIES=10
|
||||
|
||||
for pkg in ${PKGS}; do
|
||||
/hostrepo/xbps-src -j$NPROCS -H "$HOME"/hostdir $arch pkg "$pkg"
|
||||
[ $? -eq 1 ] && exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue