xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46771] New: [PATCH] fop fails if JAVACMD_OPTS is set
Date Thu, 26 Feb 2009 12:48:23 GMT

           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: fop-dev@xmlgraphics.apache.org
        ReportedBy: mvyskocil@suse.cz

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

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.

View raw message