Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 20:44:12 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r368346 - branches/2014Q3/Mk
Message-ID:  <201409162044.s8GKiCJo078221@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Sep 16 20:44:12 2014
New Revision: 368346
URL: http://svnweb.freebsd.org/changeset/ports/368346
QAT: https://qat.redports.org/buildarchive/r368346/

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

Modified:
  branches/2014Q3/Mk/bsd.port.mk
Directory Properties:
  branches/2014Q3/   (props changed)

Modified: branches/2014Q3/Mk/bsd.port.mk
==============================================================================
--- branches/2014Q3/Mk/bsd.port.mk	Tue Sep 16 20:38:13 2014	(r368345)
+++ branches/2014Q3/Mk/bsd.port.mk	Tue Sep 16 20:44:12 2014	(r368346)
@@ -3399,7 +3399,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?201409162044.s8GKiCJo078221>