https://issues.apache.org/bugzilla/show_bug.cgi?id=46771
Summary: [PATCH] fop fails if JAVACMD_OPTS is set
Product: Fop
Version: 0.95
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=23313)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23313)
Allow to set a JAVACMD_OPTS on jpackage.org compatible systems
Moved from https://bugzilla.novell.com/show_bug.cgi?id=467866
The jpackage-utils contatenace the JAVACMD_OPTS with JAVACMD, so on rpm
distributions with something in JAVACMD_OPTS in /etc/java/java.conf the
following test in /usr/share/fop/fop fails:
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
echo " We cannot execute $JAVACMD"
exit 1
fi
Attached patch splits JAVACMD variable in executable test and remove the \"\"
from exec.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.