Changeset 18743 for documentation

Show
Ignore:
Timestamp:
23.03.2009 12:50:03 (10 years ago)
Author:
oranfry
Message:

avoid out of heap space error and little bash errors

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • documentation/trunk/manuals/generate-pdf.sh

    r18741 r18743  
    88fop_dir="$shared_dir/fop" 
    99export CLASSPATH=$CLASSPATH:$shared_dir:$fop_dir/build/fop.jar:$fop_dir/lib 
     10export JAVA_OPTS="-Xmx1024M $JAVA_OPTS" 
    1011 
    1112if [ ! -d $output_dir ]; then 
     
    2829    echo -n "> " 
    2930    read manuals 
    30     if [ "$manuals" == "all" ]; then 
     31    if [ "$manuals" = "all" ]; then 
    3132        manuals=$all_manuals 
    3233    fi 
     
    4546    echo -n "> " 
    4647    read langs 
    47     if [ "$langs" == "all" ]; then 
     48    if [ "$langs" = "all" ]; then 
    4849        langs=$all_langs 
    4950    fi 
     
    6465         
    6566    for m in $manuals; do 
    66         echo "Processing the $m manual in $l" 
     67        echo -n "Processing the $m manual in $l..." 
    6768        $fop_dir/fop.sh -c $shared_dir/fop/conf/userconfig.xml -q -xsl $processing_dir/xml-to-pdf.xsl -xml $source_dir/$l/"$m"_"$l".xml -pdf $output_dir/$l/pdf/"$m"_"$l".pdf 
    6869        echo "done"