In this morning I saw in deep the script and I realize that is impossibile make
any dynamic functions to fix urls.
For example, take a look at this sed line:
sed -i build/$y/$lang/*.html -e "s#ghelp:musicvideophotos\#photos-
printing#\.\./\.\./musicvideophotos/$lang/photos.html\#photos-
printing#g"
There is no apparent link between "ghelp:musicvideophotos#photos-
printing" ghelp url and "musicvideophotos/$lang/photos.html#photos-
printing" html url.
Or am I missing it?
Anyway, we can make a py script that at least replace the dreadful sed escape
characters with readable strings.
A dictionary, for example, could be definied:
url_to_fix = {
"ghelp:musicvideophotos#photos-printing":
"musicvideophotos/%s/photos.html#photos-printing",
}
--
Some urls are not fixed by script fix-urls.sh during build.
https://bugs.launchpad.net/bugs/570111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs