[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#535854: www.debian.org: developers-reference broken on European servers



Hey Simon,

On Mon, Jul 06, 2009 at 09:45:27PM +0200, Simon Paillard wrote:
> On Sun, Jul 05, 2009 at 05:27:54PM +0200, Patrik Fimml wrote:
> > From Europe view, the online copy of developers-reference [1] is broken.
> > All links in the TOC are dead.
> > 
> > [1] http://www.debian.org/doc/manuals/developers-reference/
> 
> Thanks for your report.
> 
> This is due to the current 7doc crontab on www-master, which uses
> absolute symlinks.
> 
> These symlinks are no longer valid once replicated on webmirrors.
> 
> Here is a (ugly) patch against the current crontab, in order to use
> relative syminks.

> -	ln -sf $webdocdir/developers-reference/$(basename "$doc" .html).en.html $webdocdir/developers-reference/$(basename "$doc" .html).html.en
> +	cd $webdocdir/developers-reference/
> +	ln -sf $(basename "$doc" .html).en.html $(basename "$doc" .html).html.en

maybe I'm missing something, but

-	ln -sf $webdocdir/developers-reference/$(basename "$doc" .html).en.html $webdocdir/developers-reference/$(basename "$doc" .html).html.en
+       ln -sf $(basename "$doc" .html).en.html $webdocdir/developers-reference/$(basename "$doc" .html).html.en

should work just as well, no need for all those ugly cds. (I would have
submitted a new patch, but I don't have access to the original file.)

Patrik

Attachment: signature.asc
Description: Digital signature


Reply to: