diff options
Diffstat (limited to 'trunk/common-titles.sh')
-rw-r--r-- | trunk/common-titles.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/trunk/common-titles.sh b/trunk/common-titles.sh index df6158d..bae8a10 100644 --- a/trunk/common-titles.sh +++ b/trunk/common-titles.sh | |||
@@ -1,12 +1,10 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | outFile="$1"; | 3 | outFile="$1"; |
4 | header="$2"; | 4 | shift 1; |
5 | shift 2; | ||
6 | glob="$@"; | 5 | glob="$@"; |
7 | 6 | ||
8 | echo -n "Compiling ${outFile}"; | 7 | echo -n "Compiling ${outFile}"; |
9 | cat "$header" > $outFile; | ||
10 | 8 | ||
11 | for file in $glob; do | 9 | for file in $glob; do |
12 | # Copy title to $outFile & link | 10 | # Copy title to $outFile & link |