Browse Source

Removed the export statement, because it must be on a separate line in

plain-vanilla Bourne shells, and it is not needed. Restricted the
special setting of IFS to the section that requires it.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@587204 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_95beta
Simon Pepping 16 years ago
parent
commit
a3b54f9215
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      fop

+ 4
- 2
fop View File

no_config=false no_config=false
fop_exec_debug=false fop_exec_debug=false
show_help=false show_help=false
export IFS="
"
for arg in "$@" ; do for arg in "$@" ; do
if [ "$arg" = "--noconfig" ] ; then if [ "$arg" = "--noconfig" ] ; then
no_config=true no_config=true
LOCALCLASSPATH=${FOP_HOME}/build/fop.jar${pathSepChar}${FOP_HOME}/build/fop-sandbox.jar${pathSepChar}${FOP_HOME}/build/fop-hyph.jar${pathSepChar}$LOCALCLASSPATH LOCALCLASSPATH=${FOP_HOME}/build/fop.jar${pathSepChar}${FOP_HOME}/build/fop-sandbox.jar${pathSepChar}${FOP_HOME}/build/fop-hyph.jar${pathSepChar}$LOCALCLASSPATH


# add in the dependency .jar files, which reside in $FOP_HOME/lib # add in the dependency .jar files, which reside in $FOP_HOME/lib
OLD_IFS=$IFS
IFS="
"
DIRLIBS=${FOP_HOME}/lib/*.jar DIRLIBS=${FOP_HOME}/lib/*.jar
for i in ${DIRLIBS} for i in ${DIRLIBS}
do do
fi fi
fi fi
done done
IFS=$OLD_IFS


# add in user-defined hyphenation JARs # add in user-defined hyphenation JARs
if [ -n "$FOP_HYPHENATION_PATH" ] ; then if [ -n "$FOP_HYPHENATION_PATH" ] ; then

Loading…
Cancel
Save