Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (13 sloc) 316 Bytes
#!/bin/sh
# for each manifest, generate an HTML file
# usage: ./all.sh
path=/var/www/vhosts/xmpp.org/protocols
ls -d */ > tmp.txt
sed s/.$// tmp.txt > protocols.txt
while read f
do
xsltproc proto.xsl $f/manifest.xml > $path/$f/index.html
done < protocols.txt
#rm protocols.txt
cp index.shtml $path/
# END