Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 20:38:14 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368345 - head/Mk
Message-ID:  <201409162038.s8GKcETO074001@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409162038.s8GKcETO074001>