comparison tools/makegmaps.php @ 321:44e104b0ae90 gmap2

Change http uri to https.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 07 Mar 2022 00:18:29 +0200
parents f2c031427bb3
children a157aa18ec75
comparison
equal deleted inserted replaced
320:4386b5c57d04 321:44e104b0ae90
364 // Build maputils and fetch latest map data 364 // Build maputils and fetch latest map data
365 // 365 //
366 if (!file_exists($cfg["pathMapUtils"])) 366 if (!file_exists($cfg["pathMapUtils"]))
367 { 367 {
368 // If maputils does not exist, clone the repository 368 // If maputils does not exist, clone the repository
369 $tmp = $cfg["binMercurial"]." clone http://tnsp.org/hg/batmud/maputils/ ".escapeshellarg($cfg["pathMapUtils"]); 369 $tmp = $cfg["binMercurial"]." clone https://tnsp.org/hg/batmud/maputils/ ".escapeshellarg($cfg["pathMapUtils"]);
370 echo "* $tmp\n"; 370 echo "* $tmp\n";
371 passthru($tmp) == 0 or die("Error executing: ".$tmp."\n"); 371 passthru($tmp) == 0 or die("Error executing: ".$tmp."\n");
372 372
373 // Clone th-libs 373 // Clone th-libs
374 $tmp = $cfg["binMercurial"]." clone https://tnsp.org/hg/th-libs/ ".escapeshellarg($cfg["pathMapUtils"]."th-libs/"); 374 $tmp = $cfg["binMercurial"]." clone https://tnsp.org/hg/th-libs/ ".escapeshellarg($cfg["pathMapUtils"]."th-libs/");