Changeset 3 in recipecards for trunk/mkrecipe


Ignore:
Timestamp:
09/11/13 12:06:17 (11 years ago)
Author:
peter
Message:

use process substitution instead of writing a temporary recipe.fo file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkrecipe

    r2 r3  
    11#!/bin/bash 
    22 
    3 ./recipe2xml $1 | xsltproc --stringparam size 11x8.5 recipe.xsl - > recipe.fo 
    4  
    5 fop -c font.cfg -fo recipe.fo -pdf $1.pdf 2> /dev/null 
    6  
    7 rm recipe.fo 
     3fop -c font.cfg \ 
     4    -fo <(./recipe2xml $1 | xsltproc --stringparam size 11x8.5 recipe.xsl -) \ 
     5    -pdf $1.pdf \ 
     6    2> /dev/null 
Note: See TracChangeset for help on using the changeset viewer.