summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-08 21:07:28 +0100
committerErich Eckner <git@eckner.net>2019-11-08 21:07:28 +0100
commitf922c140c97f4b625bb31e6848da48b6c6043fd3 (patch)
treeefd5f5177a8ca44d1f4548c1c9435d35be8f9d8b
parentc227efc1d2cd9058b07998304269fd941113d11d (diff)
downloadreleng-f922c140c97f4b625bb31e6848da48b6c6043fd3.tar.xz
update-website: ignore trailing / in mirrorlist
-rwxr-xr-xupdate-website2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-website b/update-website
index 3e4360d..64b0582 100755
--- a/update-website
+++ b/update-website
@@ -164,7 +164,7 @@ fi
)"'
}
/^#Server = /{
- s|^#Server = \(.*//\)\([^/]*\)\(/.*\)\$arch/\$repo$|'"$(
+ s|^#Server = \(.*//\)\([^/]*\)\(/.*\)\$arch/\$repo/\?$|'"$(
printf \
' %s\\n' \
'<li><a href="\1\2\3archisos/"' \