File: htdocs_regen

package info (click to toggle)
tk-html3 3.0~fossil20110109-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,416 kB
  • sloc: ansic: 48,980; tcl: 26,031; sh: 1,186; yacc: 161; makefile: 24
file content (12 lines) | stat: -rwxr-xr-x 235 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Assume call with pwd = 'htdocs'.

for i in `ls raw/*.exp`
do
	echo $i '-->' `basename $i .exp`.html
	../tools/expand -rules ../tools/rules/memchan $i > `basename $i .exp`.html
done

rm index.php
ln -s index.html index.php