From: Michal Vaner Date: Wed, 11 Feb 2009 14:47:10 +0000 (+0100) Subject: Update correctly links with /mods for sourceforge X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a1cfac76d17df2434976beae71e796362f3a8b45;p=pciids.git Update correctly links with /mods for sourceforge Only /read links were updated, /read and /mods are now. --- diff --git a/scripts/update-sf.pl b/scripts/update-sf.pl index 9bde64e..78b8917 100755 --- a/scripts/update-sf.pl +++ b/scripts/update-sf.pl @@ -9,7 +9,7 @@ O=~/ids/docs cp -aL $O/static . cp -aL $O/{v2.2,pci.ids*} . sed <$O/index.html >index.html -e ' - s@href="/read/@href="http://pci-ids.ucw.cz/read/@g + s@href="/\(read\|mods\)/@href="http://pci-ids.ucw.cz/\1/@g ' rsync -avz --delete ~/sf.net/htdocs mares,pciids@web.sourceforge.net: