aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-06-06 23:25:22 +0800
committermat <mat@FreeBSD.org>2016-06-06 23:25:22 +0800
commit89037ce523f3d0ece62cc99036d5e2ae70ff9edb (patch)
treee12ee4585a0e15eba0db2486fb10c3fa39d094a2 /Mk
parent51c072e050f3dc98e81397a972e5bde4578e3c40 (diff)
downloadfreebsd-ports-gnome-89037ce523f3d0ece62cc99036d5e2ae70ff9edb.tar.gz
freebsd-ports-gnome-89037ce523f3d0ece62cc99036d5e2ae70ff9edb.tar.zst
freebsd-ports-gnome-89037ce523f3d0ece62cc99036d5e2ae70ff9edb.zip
Fix having the :DEFAULT MASTER_SITES entries ending up being there twice
in the end. Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/do-fetch.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Scripts/do-fetch.sh b/Mk/Scripts/do-fetch.sh
index 600596f79c88..fb8e2d3621f8 100644
--- a/Mk/Scripts/do-fetch.sh
+++ b/Mk/Scripts/do-fetch.sh
@@ -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)