source: trunk/packages/sipb-xen-base/files/lib/init/gen-files.sh @ 1301

Last change on this file since 1301 was 1211, checked in by price, 16 years ago

factor out common initscript code

File size: 175 bytes
RevLine 
[1211]1# Generates files from templates.
2# Files should be named in an array variable GEN_FILES.
3
4gen_files()
5{
6  for f in "${GEN_FILES[@]}"; do
7    mako-render $f.mako >$f
8  done
9}
Note: See TracBrowser for help on using the repository browser.