diff options
Diffstat (limited to 'scripts/history.sh')
-rwxr-xr-x | scripts/history.sh | 3 |
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} } |