svn commit: r368345 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Tue Sep 16 20:38:14 UTC 2014


Author: bdrewery
Date: Tue Sep 16 20:38:13 2014
New Revision: 368345
URL: http://svnweb.freebsd.org/changeset/ports/368345
QAT: https://qat.redports.org/buildarchive/r368345/

Log:
  - Fix off-by-one with 'make checksum' which caused it to not properly
    download files from the last site (distcache).
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Sep 16 20:29:43 2014	(r368344)
+++ head/Mk/bsd.port.mk	Tue Sep 16 20:38:13 2014	(r368345)
@@ -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; \


More information about the svn-ports-head mailing list