about summary refs log tree commit diff stats
path: root/trunk/lozenge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lozenge.sh')
-rw-r--r--trunk/lozenge.sh15
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
3outFile="$1";
4shift;
5fileList="$@";
6
7echo -n "Updating \"lozenge.js\"..."
8
9list=`echo ${fileList[@]} |\
10 sed -e 's/\(\S\+.html\) \?/"\1",/g'\
11 -e 's/^\(.*\),$/var files=[\1]/'`
12
13sed -i "s/var files=.*/$list/" "$outFile";
14
15echo "Done."