diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-09-17 04:38:13 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-09-17 04:38:13 +0800 |
commit | f4812f51de0a1ae2554a54f47444b8f59f995bd2 (patch) | |
tree | b85f01b8d6b971f474c8b045e918e1a67704041f /Mk/bsd.port.mk | |
parent | 82127e0811ab1f8bd64306c90a4ebb744e34d5c1 (diff) | |
download | freebsd-ports-gnome-f4812f51de0a1ae2554a54f47444b8f59f995bd2.tar.gz freebsd-ports-gnome-f4812f51de0a1ae2554a54f47444b8f59f995bd2.tar.zst freebsd-ports-gnome-f4812f51de0a1ae2554a54f47444b8f59f995bd2.zip |
- Fix off-by-one with 'make checksum' which caused it to not properly
download files from the last site (distcache).
With hat: portmgr
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 00b13b933ddc..f11695cf76a6 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3254,7 +3254,7 @@ do-fetch: continue 2; \ else \ ${ECHO_MSG} "=> Fetched file size mismatch (expected $${CKSIZE}, actual $${actual_size})"; \ - if [ $${sites_remaining} -gt 1 ]; then \ + if [ $${sites_remaining} -gt 0 ]; then \ ${ECHO_MSG} "=> Trying next site"; \ ${RM} -f $${file}; \ fi; \ |