aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-01-09 20:53:37 +0100
committerUlrich Müller <ulm@gentoo.org>2020-01-09 22:24:37 +0100
commitab9f4f86f29c6bdb8aea37bf5c86e74a2c605146 (patch)
treefabe757c8f77fa784ca666e93ac19d0cf069444e /bin
parentfunction-reference/build-functions: Drop einstall. (diff)
downloaddevmanual-ab9f4f86f29c6bdb8aea37bf5c86e74a2c605146.tar.gz
devmanual-ab9f4f86f29c6bdb8aea37bf5c86e74a2c605146.tar.bz2
devmanual-ab9f4f86f29c6bdb8aea37bf5c86e74a2c605146.zip
bin/gen-eclass-html.sh: Remove broken links to localhost.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen-eclass-html.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index 26c42e6..56bf51f 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -109,6 +109,7 @@ for i in $(/usr/bin/qlist eclass-manpages) /usr/share/man/man5/ebuild.5*; do
| sed -e '1,/<BODY>/d;/<\/BODY>/,$d' \
-e '/<A HREF=/s:"\.\./man5/\([^"]*eclass\|ebuild\)\.5\.html":"../\1/index.html":g' \
-e 's:<A HREF="\.\./man[^"]*">\([^<>]*\)</A>:\1:g' \
+ -e 's:<A HREF="[^"]*//localhost/[^"]*">\([^<>]*\)</A>:\1:g' \
>> "${FINAL}"
echo -n "${FOOTER}" >> "${FINAL}"
done