From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B71A0138350 for ; Wed, 29 Apr 2020 05:20:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBAA1E0948; Wed, 29 Apr 2020 05:20:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5EA7E0948 for ; Wed, 29 Apr 2020 05:20:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C67434EF99 for ; Wed, 29 Apr 2020 05:20:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B39059C for ; Wed, 29 Apr 2020 05:20:16 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1588135928.b0b29736aeb8eaddcf111c0a0c1da693fbbb60e0.robbat2@gentoo> Subject: [gentoo-commits] proj/gentoo-mirrorstats:master commit in: / X-VCS-Repository: proj/gentoo-mirrorstats X-VCS-Files: mirmon-snapshots.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: b0b29736aeb8eaddcf111c0a0c1da693fbbb60e0 X-VCS-Branch: master Date: Wed, 29 Apr 2020 05:20:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49325119-5317-47f2-9890-fd2bb04ce8ab X-Archives-Hash: 339887617b31dfa832dcd79bfb894b73 commit: b0b29736aeb8eaddcf111c0a0c1da693fbbb60e0 Author: Robin H. Johnson gentoo org> AuthorDate: Wed Apr 29 04:52:08 2020 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed Apr 29 04:52:08 2020 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=b0b29736 snapshots: fix URL Signed-off-by: Robin H. Johnson gentoo.org> mirmon-snapshots.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mirmon-snapshots.sh b/mirmon-snapshots.sh index 0f10688..5a5c127 100755 --- a/mirmon-snapshots.sh +++ b/mirmon-snapshots.sh @@ -12,6 +12,7 @@ HTDOCS=${SITEDIR}/htdocs/${MODE} MIRMON=$(readlink -f "${SITEDIR}"/mirmon/mirmon) CONFFILE=$(readlink -f "${MODEDIR}"/mirmon.conf) VAR_GMIRRORS=${VARDIR}/g.mirrors +URL=https://www.gentoo.org/downloads/mirrors/ # Grab mirrors from the web mkdir -p "${VARDIR}" @@ -32,7 +33,7 @@ mv -f "${VAR_GMIRRORS}"{.tmp,} # Set up a nice link to our mirror page directly: mkdir -p ${HTDOCS} sed \ - -e 's#mirrors#mirrors#' \ + -e "s#mirrors#mirrors#" \ >"${HTDOCS}"/index.html.tmp <"${HTDOCS}"/index-wip.html \ && mv -f "${HTDOCS}"/index.html{.tmp,}