Bug 97134 - jargon-4.4.7 and broken stylesheet path
Bug#: 97134 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mr_bones_@gentoo.org Reported By: help@imtrappedininter.net
Component: Applications
URL: 
Summary: jargon-4.4.7 and broken stylesheet path
Keywords:  
Status Whiteboard: 
Opened: 2005-06-26 12:20 0000
Description:   Opened: 2005-06-26 12:20 0000
all files in subdirs 0,A..Z has this tag: <link rel="stylesheet" href="../../
jargon.css" type="text/css"/>.
You see that href points to non-existent file, it should be ../jargon.css
Workaround: i'm not sure that this problem exists only in stylesheet links, so 
you can simply add this command to ebuild sed -i 's#\.\./\.\.#..#' ${S}/html/*/*

Reproducible: Always
Steps to Reproduce:
emerge jargon

------- Comment #1 From parafin 2005-06-26 12:22:53 0000 -------
Created an attachment (id=61989) [details]
patched ebuild

line sed -i 's#\.\./\.\.#..#' ${S}/html/*/* added to src_unpack
i haven't yet tested the ebuild, but command works fine.

------- Comment #2 From parafin 2005-06-27 09:55:37 0000 -------
Created an attachment (id=62072) [details]
finally patched and tested ebuild

oops... now it will work. (error was: sed: too long command line) May be it's
better to rewrite sed command using find, but anyway _this_ ebuild works fine.

------- Comment #3 From Mr. Bones. 2005-06-27 12:42:04 0000 -------
ok, in portage.  thanks for the bug report and patch.