Skip to content

Commit

Permalink
Fix multiple URLs in *_site_local with tags
Browse files Browse the repository at this point in the history
Correctly add multiple URLs specified in archive_site_local,
master_site_local, and patch_site_local when a tag is used.

Closes: https://trac.macports.org/ticket/57718
  • Loading branch information
ryandesign authored and jmroot committed Aug 30, 2019
1 parent 009cf68 commit 50f2934
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/port1.0/fetch_common.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
#
# Copyright (c) 2002 - 2003 Apple Inc.
# Copyright (c) 2004 - 2013 The MacPorts Project
# Copyright (c) 2002-2003 Apple Inc.
# Copyright (c) 2004-2014, 2016-2018 The MacPorts Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -201,7 +201,7 @@ proc portfetch::checksites {sitelists mirrorfile} {
set site_list [concat $site_list [mirror_sites $sglobal $tag "" $mirrorfile]]
}
if {[info exists env($senv)]} {
set site_list [concat [list $env($senv)] $site_list]
set site_list [concat $env($senv) $site_list]
}
set extras_added($tag) yes
}
Expand Down

0 comments on commit 50f2934

Please sign in to comment.