]> mj.ucw.cz Git - pciids.git/blobdiff - scripts/update-sf.pl
Use #!/bin/bash
[pciids.git] / scripts / update-sf.pl
index 78b89175f135b233f107f731fd0c7cf5ffd49b01..72c874606ca38e369eee23213345af80f71ee2da 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 set -e
 cd ~/sf.net
 rm -rf htdocs
@@ -8,8 +8,6 @@ cd htdocs
 O=~/ids/docs
 cp -aL $O/static .
 cp -aL $O/{v2.2,pci.ids*} .
-sed <$O/index.html >index.html -e '
-       s@href="/\(read\|mods\)/@href="http://pci-ids.ucw.cz/\1/@g
-'
+cp ../index.html .
 
-rsync -avz --delete ~/sf.net/htdocs mares,pciids@web.sourceforge.net:
+rsync -az --delete ~/sf.net/htdocs mares,pciids@web.sourceforge.net: