]> mj.ucw.cz Git - pciids.git/commitdiff
Update correctly links with /mods for sourceforge
authorMichal Vaner <vorner@ucw.cz>
Wed, 11 Feb 2009 14:47:10 +0000 (15:47 +0100)
committerMichal Vaner <vorner@ucw.cz>
Wed, 11 Feb 2009 14:47:10 +0000 (15:47 +0100)
Only /read links were updated, /read and /mods are now.

scripts/update-sf.pl

index 9bde64e685b6a6618f0dd978ed73446693c690fd..78b89175f135b233f107f731fd0c7cf5ffd49b01 100755 (executable)
@@ -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: