Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-11-03 16:05:50 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2021-11-03 16:07:30 +0300
commit8e945375168eb6bb93e0e6cb1f437dacff9ff088 (patch)
tree10cf8f44e355fecce1861b0721cf0ad232dc11f0 /calm/pkg2html.py
parentc7baf4a1eeb46e96a1b72dc9a6e483a7621d2996 (diff)
Use an absolute URL for link from package contents to summary
This makes the link also resolve correctly when the listing file is served via the package-cat cgi script (which has a different base url)
Diffstat (limited to 'calm/pkg2html.py')
-rwxr-xr-xcalm/pkg2html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index 30b5211..b43ed71 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -469,7 +469,7 @@ def write_arch_listing(args, packages, arch):
<title>%s: %s</title>
</head>
<body>
- <h1><a href="../../summary/%s.html">%s</a>: %s</h1>
+ <h1><a href="/packages/summary/%s.html">%s</a>: %s</h1>
<pre>''' % (p, desc, p, p, desc)), file=f)
tf = os.path.join(args.rel_area, to.path, to.fn)