Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update for 2012 default year

  • Loading branch information...
commit eef590c1bdc3bd643bb9393a933424a1d2f56877 1 parent 63a1d7e
@codehero authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 script/fillin_values
View
8 script/fillin_values
@@ -1,11 +1,11 @@
#!/bin/bash
-YEARDIR=2011
+: ${YEAR_DIR:=2012}
FORM=$1
DATA=$2
FDF=/tmp/output.fdf
-node script/apply_values.js ${YEARDIR}/definition/${FORM}.json \
- ${YEARDIR}/transform/${FORM}.json ${DATA} > /tmp/output.fdf
+node script/apply_values.js ${YEAR_DIR}/definition/${FORM}.json \
+ ${YEAR_DIR}/transform/${FORM}.json ${DATA} > /tmp/output.fdf
-pdftk ${YEARDIR}/PDF/${FORM}.pdf fill_form ${FDF} output $3
+pdftk ${YEAR_DIR}/PDF/${FORM}.pdf fill_form ${FDF} output $3
Please sign in to comment.
Something went wrong with that request. Please try again.