summaryrefslogtreecommitdiffstats
path: root/scripts/history.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/history.sh')
-rwxr-xr-xscripts/history.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/history.sh b/scripts/history.sh
index 1594714..7e6da02 100755
--- a/scripts/history.sh
+++ b/scripts/history.sh
@@ -1,11 +1,12 @@
#!/usr/bin/bash
+
function main () {
local file="${1}"
local template="${2}"
tmp_file=$(mktemp)
generate_json ${file} > ${tmp_file}
- haskell-mustache ${template} ${tmp_file}
+ mustache ${tmp_file} ${template} | tail -n +2
rm ${tmp_file}
}