- Timestamp:
- Oct 25, 2008, 9:11:40 PM (16 years ago)
- Location:
- trunk/packages/sipb-xen-base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-base/debian/changelog
r1252 r1303 1 sipb-xen-base (8.29) unstable; urgency=low 2 3 * gen-files.sh: degrade gracefully to plain-old sh 4 5 -- Greg Price <price@mit.edu> Sat, 25 Oct 2008 20:06:54 -0400 6 1 7 sipb-xen-base (8.28) unstable; urgency=low 2 8 -
trunk/packages/sipb-xen-base/files/lib/init/gen-files.sh
r1211 r1303 1 1 # Generates files from templates. 2 2 # Files should be named in an array variable GEN_FILES. 3 # If BASH_VERSION is null or unset, accepts only one file. 3 4 4 gen_files() 5 { 6 for f in "${GEN_FILES[@]}"; do 7 mako-render $f.mako >$f 8 done 9 } 5 if [ $BASH_VERSION ]; then 6 gen_files() 7 { 8 for f in "${GEN_FILES[@]}"; do 9 mako-render "$f".mako >"$f" 10 done 11 } 12 else 13 gen_files() 14 { 15 mako-render "$GEN_FILES".mako >"$GEN_FILES" 16 } 17 fi
Note: See TracChangeset
for help on using the changeset viewer.