Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2016 15:25:22 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416468 - head/Mk/Scripts
Message-ID:  <201606061525.u56FPMGC089383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Jun  6 15:25:22 2016
New Revision: 416468
URL: https://svnweb.freebsd.org/changeset/ports/416468

Log:
  Fix having the :DEFAULT MASTER_SITES entries ending up being there twice
  in the end.
  
  Sponsored by:	Absolight

Modified:
  head/Mk/Scripts/do-fetch.sh   (contents, props changed)

Modified: head/Mk/Scripts/do-fetch.sh
==============================================================================
--- head/Mk/Scripts/do-fetch.sh	Mon Jun  6 15:18:05 2016	(r416467)
+++ head/Mk/Scripts/do-fetch.sh	Mon Jun  6 15:25:22 2016	(r416468)
@@ -106,6 +106,8 @@ for _file in "${@}"; do
 			else
 				SORTED_MASTER_SITES_CMD_TMP="${dp_SORTED_PATCH_SITES_DEFAULT_CMD}"
 			fi
+			# Having this set when the next eval runs creates double entries.
+			unset _${dp_SITE_FLAVOR}_SITES_DEFAULT
 		fi
 		case ${dp_TARGET} in
 			fetch-list)



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