Bug 312561 - Thinko in dtomcat5
Summary: Thinko in dtomcat5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat5
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Devrim GUNDUZ
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-29 20:43 UTC by Ville Skyttä
Modified: 2008-02-13 05:14 UTC (History)
0 users

Fixed In Version: 5.5.26-1jpp.2.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-13 04:55:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2007-09-29 20:43:54 UTC
dtomcat5 does this:

    JAVA=`which java`
    if [ -z "$JAVA" ] ; then
        JAVA_BINDIR=`dirname ${JAVA}`
        JAVA_HOME="${JAVA_BINDIR}/.."
    fi

The -z should obviously be -n.  Also, I suppose adding a dependency on "which"
or redirecting the stderr to /dev/null when it's not available would not hurt.

Comment 1 Devrim GUNDUZ 2008-01-05 12:25:05 UTC
Thanks. Updated the patch. It will appear in next tomcat build.

Regards, Devrim

Comment 2 Fedora Update System 2008-01-07 01:23:37 UTC
tomcat5-5.5.25-2jpp.1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tomcat5'

Comment 3 Fedora Update System 2008-01-07 01:28:27 UTC
tomcat5-5.5.25-2jpp.1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tomcat5'

Comment 4 Fedora Update System 2008-02-09 00:31:33 UTC
tomcat5-5.5.26-1jpp.1.fc7 has been submitted as an update for Fedora 7

Comment 5 Fedora Update System 2008-02-09 00:34:54 UTC
tomcat5-5.5.26-1jpp.1.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-02-12 20:31:50 UTC
tomcat5-5.5.26-1jpp.2.fc8 has been submitted as an update for Fedora 8

Comment 7 Fedora Update System 2008-02-12 20:33:56 UTC
tomcat5-5.5.26-1jpp.2.fc7 has been submitted as an update for Fedora 7

Comment 8 Fedora Update System 2008-02-13 04:54:42 UTC
tomcat5-5.5.26-1jpp.2.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2008-02-13 05:14:08 UTC
tomcat5-5.5.26-1jpp.2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.