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

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

factor out common initscript code

File size: 175 bytes
Line 
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.