diff options
Diffstat (limited to 'trunk/lozenge.sh')
-rw-r--r-- | trunk/lozenge.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/trunk/lozenge.sh b/trunk/lozenge.sh deleted file mode 100644 index 9f0cd55..0000000 --- a/trunk/lozenge.sh +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | outFile="$1"; | ||
4 | shift; | ||
5 | fileList="$@"; | ||
6 | |||
7 | echo -n "Updating \"lozenge.js\"..." | ||
8 | |||
9 | list=`echo ${fileList[@]} |\ | ||
10 | sed -e 's/\(\S\+.html\) \?/"\1",/g'\ | ||
11 | -e 's/^\(.*\),$/var files=[\1]/'` | ||
12 | |||
13 | sed -i "s/var files=.*/$list/" "$outFile"; | ||
14 | |||
15 | echo "Done." | ||