File: htdocs_regen

package info (click to toggle)
tk-html3 3.0~fossil20110109-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,656 kB
  • sloc: ansic: 48,994; tcl: 25,966; sh: 1,190; 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