aboutsummaryrefslogtreecommitdiffstats
path: root/fop
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2007-10-22 19:10:23 +0000
committerSimon Pepping <spepping@apache.org>2007-10-22 19:10:23 +0000
commita3b54f921539dc4d9311fb37769cfe0d09038ada (patch)
treea9c129405c52e26624058f79a572744faece0558 /fop
parentc6f2baf00bd2691b0e7f9087b1ba9b9ee7ad8c88 (diff)
downloadxmlgraphics-fop-a3b54f921539dc4d9311fb37769cfe0d09038ada.tar.gz
xmlgraphics-fop-a3b54f921539dc4d9311fb37769cfe0d09038ada.zip
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
Diffstat (limited to 'fop')
-rwxr-xr-xfop6
1 files changed, 4 insertions, 2 deletions
diff --git a/fop b/fop
index c175c538c..3f2ac6f7d 100755
--- a/fop
+++ b/fop
@@ -22,8 +22,6 @@ fop_exec_args=
no_config=false
fop_exec_debug=false
show_help=false
-export IFS="
-"
for arg in "$@" ; do
if [ "$arg" = "--noconfig" ] ; then
no_config=true
@@ -153,6 +151,9 @@ fi
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
+OLD_IFS=$IFS
+IFS="
+"
DIRLIBS=${FOP_HOME}/lib/*.jar
for i in ${DIRLIBS}
do
@@ -166,6 +167,7 @@ do
fi
fi
done
+IFS=$OLD_IFS
# add in user-defined hyphenation JARs
if [ -n "$FOP_HYPHENATION_PATH" ] ; then