Skip to content

Commit 6ecf594

Browse files
gh-92171: Update Tcl/Tk download links in macOS installer script (GH-92179)
1 parent f0614ca commit 6ecf594

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Mac/BuildScript/build-installer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,11 @@ def library_recipes():
271271
tk_patches = [ ]
272272

273273

274+
base_url = "https://prdownloads.sourceforge.net/tcl/{what}{version}-src.tar.gz"
274275
result.extend([
275276
dict(
276277
name="Tcl %s"%(tcl_tk_ver,),
277-
url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl%s-src.tar.gz"%(tcl_tk_ver,),
278+
url=base_url.format(what="tcl", version=tcl_tk_ver),
278279
checksum=tcl_checksum,
279280
buildDir="unix",
280281
configure_pre=[
@@ -291,7 +292,7 @@ def library_recipes():
291292
),
292293
dict(
293294
name="Tk %s"%(tcl_tk_ver,),
294-
url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk%s-src.tar.gz"%(tcl_tk_ver,),
295+
url=base_url.format(what="tk", version=tcl_tk_ver),
295296
checksum=tk_checksum,
296297
patches=tk_patches,
297298
buildDir="unix",

0 commit comments

Comments
 (0)