From e1c90a2e582c83279961d4f5437f6daee1a938e8 Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Tue, 18 Jul 2023 15:17:42 +0800 Subject: [PATCH] pypi: strip / in the end of upstream URL --- pypi.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pypi.sh b/pypi.sh index a9ffd60..1599c1c 100755 --- a/pypi.sh +++ b/pypi.sh @@ -3,6 +3,7 @@ set -e BANDERSNATCH=${BANDERSNATCH:-"/usr/local/bin/bandersnatch"} PYPI_MASTER="https://pypi.org" TUNASYNC_UPSTREAM=${TUNASYNC_UPSTREAM_URL:-$PYPI_MASTER} +TUNASYNC_UPSTREAM=${TUNASYNC_UPSTREAM%/} CONF="/tmp/bandersnatch.conf" INIT=${INIT:-"0"}