1 # Generates files from templates.
2 # Files should be named in an array variable GEN_FILES.
3 # If BASH_VERSION is null or unset, accepts only one file.
5 if [ $BASH_VERSION ]; then
8 for f in "${GEN_FILES[@]}"; do
9 mako-render "$f".mako >"$f"
15 mako-render "$GEN_FILES".mako >"$GEN_FILES"